APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.jgss.spnego

public Class NegTokenTarg

extends SpNegoToken
Class Inheritance
Imports
java.io.*, org.ietf.jgss.*, sun.security.jgss.*, sun.security.util.*

Implements the SPNEGO NegTokenTarg token as specified in RFC 2478 NegTokenTarg ::= SEQUENCE { negResult [0] ENUMERATED { accept_completed (0), accept_incomplete (1), reject (2) } OPTIONAL, supportedMech [1] MechType OPTIONAL, responseToken [2] OCTET STRING OPTIONAL, mechListMIC [3] OCTET STRING OPTIONAL } MechType::= OBJECT IDENTIFIER
Author
Seema Malkani
Since
1.6

Field Summary

Modifier and TypeField and Description
private byte[]
private int
private byte[]
private Oid
Inherited from sun.security.jgss.spnego.SpNegoToken:
NEG_TOKEN_INIT_IDNEG_TOKEN_TARG_IDOID

Constructor Summary

AccessConstructor and Description
pack-priv
NegTokenTarg(int result, Oid mech, byte[] token, byte[] mechListMIC)

public
NegTokenTarg(byte[] in)

Method Summary

Modifier and TypeMethod and Description
pack-priv final byte[]
encode()

Implements abstract sun.security.jgss.spnego.SpNegoToken.encode.

Returns the individual encoded SPNEGO token

pack-priv byte[]
pack-priv int
pack-priv byte[]
public Oid
private void
parseToken(byte[] in)

Inherited from sun.security.jgss.spnego.SpNegoToken:
checkNextFieldgetEncodedgetNegoResultStringgetTokenNamegetType

Field Detail

mechListMICback to summary
private byte[] mechListMIC
negResultback to summary
private int negResult
responseTokenback to summary
private byte[] responseToken
supportedMechback to summary
private Oid supportedMech

Constructor Detail

NegTokenTargback to summary
pack-priv NegTokenTarg(int result, Oid mech, byte[] token, byte[] mechListMIC)
NegTokenTargback to summary
public NegTokenTarg(byte[] in) throws GSSException

Method Detail

encodeback to summary
pack-priv final byte[] encode() throws GSSException

Implements abstract sun.security.jgss.spnego.SpNegoToken.encode.

Doc from sun.security.jgss.spnego.SpNegoToken.encode.

Returns the individual encoded SPNEGO token

getMechListMICback to summary
pack-priv byte[] getMechListMIC()
getNegotiatedResultback to summary
pack-priv int getNegotiatedResult()
getResponseTokenback to summary
pack-priv byte[] getResponseToken()
getSupportedMechback to summary
public Oid getSupportedMech()
parseTokenback to summary
private void parseToken(byte[] in) throws GSSException