public class NegTokenInit
extends java.lang.Object
GSSAPI ::= [APPLICATION 0] IMPLICIT SEQUENCE {
mech MechType,
negTokenInit NegotiationToken
}
NegotiationToken ::= CHOICE {
negTokenInit [0] NegTokenInit,
negTokenTarg [1] NegTokenTarg
}
NegTokenInit ::= SEQUENCE {
mechTypes [0] MechTypeList OPTIONAL,
reqFlags [1] ContextFlags OPTIONAL,
mechToken [2] OCTET STRING OPTIONAL,
mechListMIC [3] OCTET STRING OPTIONAL
}
MechTypeList ::= SEQUENCE of MechType
ContextFlags ::= BIT_STRING {
delegFlag (0),
mutualFlag (1),
replayFlag (2),
sequenceFlag (3),
anonFlag (4),
confFlag (5),
integFlag (6)
}
MechType ::= OBJECT IDENTIFIER
In the context of this class only the NegTokenInit is covered.
0xa0 (the CHOICE tagged object).| Constructor and Description |
|---|
NegTokenInit() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSupportedMech(org.bouncycastle.asn1.ASN1ObjectIdentifier oid) |
java.util.List<org.bouncycastle.asn1.ASN1ObjectIdentifier> |
getSupportedMechTypes() |
protected void |
parseSpnegoToken(org.bouncycastle.asn1.ASN1Encodable spnegoToken) |
protected void |
parseTagged(org.bouncycastle.asn1.ASN1TaggedObject asn1TaggedObject) |
NegTokenInit |
read(byte[] bytes) |
void |
setMechToken(byte[] mechToken) |
void |
write(Buffer<?> buffer) |
protected void |
writeGss(Buffer<?> buffer,
org.bouncycastle.asn1.ASN1EncodableVector negToken) |
public void write(Buffer<?> buffer)
public NegTokenInit read(byte[] bytes) throws java.io.IOException
java.io.IOExceptionprotected void parseTagged(org.bouncycastle.asn1.ASN1TaggedObject asn1TaggedObject)
throws SpnegoException
SpnegoExceptionpublic void addSupportedMech(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
public void setMechToken(byte[] mechToken)
public java.util.List<org.bouncycastle.asn1.ASN1ObjectIdentifier> getSupportedMechTypes()
protected void writeGss(Buffer<?> buffer, org.bouncycastle.asn1.ASN1EncodableVector negToken) throws java.io.IOException
java.io.IOExceptionprotected void parseSpnegoToken(org.bouncycastle.asn1.ASN1Encodable spnegoToken)
throws java.io.IOException
java.io.IOException