APIdia Launch Partner
Top Fields Constructors Methods
sun.security.jgss.krb5

pack-priv Class MicToken

extends MessageToken
Class Inheritance
Imports
org.ietf.jgss.GSSException, .MessageProp, java.io.ByteArrayOutputStream, .IOException, .InputStream

Field Summary

Inherited from sun.security.jgss.krb5.MessageToken:
cipherHelperSEAL_ALG_ARCFOUR_HMACSEAL_ALG_DESSEAL_ALG_DES3_KDSEAL_ALG_NONESGN_ALG_DES_MACSGN_ALG_DES_MAC_MD5SGN_ALG_HMAC_MD5_ARCFOURSGN_ALG_HMAC_SHA1_DES3_KD

Constructor Summary

AccessConstructor and Description
public
MicToken(Krb5Context context, byte[] tokenBytes, int tokenOffset, int tokenLen, MessageProp prop)

public
public
MicToken(Krb5Context context, MessageProp prop, byte[] data, int pos, int len)

public

Method Summary

Modifier and TypeMethod and Description
public int
encode(byte[] outToken, int offset)

public byte[]
protected int
getSealAlg(boolean confRequested, int qop)

Implements abstract sun.security.jgss.krb5.MessageToken.getSealAlg.

Obtains the encryption algorithm that should be used in this token given the state of confidentiality the application requested.

public void
verify(byte[] data, int offset, int len)

public void
Inherited from sun.security.jgss.krb5.MessageToken:
encodegenSignAndSeqNumbergetChecksumgetConfStategetEncSeqNumbergetGSSHeadergetKrb5TokenSizegetSequenceNumbergetSgnAlggetTokenIdgetTokenSizegetTokenSizeverifySignAndSeqNumber

Constructor Detail

MicTokenback to summary
public MicToken(Krb5Context context, byte[] tokenBytes, int tokenOffset, int tokenLen, MessageProp prop) throws GSSException
MicTokenback to summary
public MicToken(Krb5Context context, InputStream is, MessageProp prop) throws GSSException
MicTokenback to summary
public MicToken(Krb5Context context, MessageProp prop, byte[] data, int pos, int len) throws GSSException
MicTokenback to summary
public MicToken(Krb5Context context, MessageProp prop, InputStream data) throws GSSException, IOException

Method Detail

encodeback to summary
public int encode(byte[] outToken, int offset) throws IOException, GSSException
encodeback to summary
public byte[] encode() throws IOException, GSSException
getSealAlgback to summary
protected int getSealAlg(boolean confRequested, int qop)

Implements abstract sun.security.jgss.krb5.MessageToken.getSealAlg.

Doc from sun.security.jgss.krb5.MessageToken.getSealAlg.

Obtains the encryption algorithm that should be used in this token given the state of confidentiality the application requested. Requested qop must be consistent with negotiated session key.

verifyback to summary
public void verify(byte[] data, int offset, int len) throws GSSException
verifyback to summary
public void verify(InputStream data) throws GSSException