public class NegTokenTarg
extends java.lang.Object
NegotiationToken ::= CHOICE {
negTokenInit [0] NegTokenInit,
negTokenTarg [1] NegTokenTarg
}
NegTokenTarg ::= SEQUENCE {
negResult [0] ENUMERATED {
accept_completed (0),
accept_incomplete (1),
rejected (2) } OPTIONAL,
supportedMech [1] MechType OPTIONAL,
responseToken [2] OCTET STRING OPTIONAL,
mechListMIC [3] OCTET STRING OPTIONAL
}
MechType ::= OBJECT IDENTIFIER
In the context of this class only the NegTokenTarg is covered.| Constructor and Description |
|---|
NegTokenTarg() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getMechListMic() |
java.math.BigInteger |
getNegotiationResult() |
byte[] |
getResponseToken() |
com.hierynomus.asn1.types.primitive.ASN1ObjectIdentifier |
getSupportedMech() |
protected void |
parseSpnegoToken(com.hierynomus.asn1.types.ASN1Object spnegoToken) |
protected void |
parseTagged(com.hierynomus.asn1.types.constructed.ASN1TaggedObject asn1TaggedObject) |
NegTokenTarg |
read(byte[] bytes) |
void |
setMechListMic(byte[] mechListMic) |
void |
setNegotiationResult(java.math.BigInteger negotiationResult) |
void |
setResponseToken(byte[] responseToken) |
void |
setSupportedMech(com.hierynomus.asn1.types.primitive.ASN1ObjectIdentifier supportedMech) |
void |
write(Buffer<?> buffer) |
protected void |
writeGss(Buffer<?> buffer,
com.hierynomus.asn1.types.ASN1Object negToken) |
protected void writeGss(Buffer<?> buffer, com.hierynomus.asn1.types.ASN1Object negToken) throws java.io.IOException
java.io.IOExceptionpublic void write(Buffer<?> buffer) throws SpnegoException
SpnegoExceptionpublic NegTokenTarg read(byte[] bytes) throws SpnegoException
SpnegoExceptionprotected void parseTagged(com.hierynomus.asn1.types.constructed.ASN1TaggedObject asn1TaggedObject)
throws SpnegoException
SpnegoExceptionpublic java.math.BigInteger getNegotiationResult()
public void setNegotiationResult(java.math.BigInteger negotiationResult)
public com.hierynomus.asn1.types.primitive.ASN1ObjectIdentifier getSupportedMech()
public void setSupportedMech(com.hierynomus.asn1.types.primitive.ASN1ObjectIdentifier supportedMech)
public byte[] getResponseToken()
public void setResponseToken(byte[] responseToken)
public byte[] getMechListMic()
public void setMechListMic(byte[] mechListMic)
protected void parseSpnegoToken(com.hierynomus.asn1.types.ASN1Object spnegoToken)
throws SpnegoException
SpnegoException