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

pack-priv abstract Class Krb5Token

extends GSSToken
Class Inheritance
Known Direct Subclasses
sun.security.jgss.krb5.MessageToken, sun.security.jgss.krb5.MessageToken_v2, sun.security.jgss.krb5.InitialToken
Imports
java.io.IOException, sun.security.util.*, sun.security.jgss.*

This class represents a base class for all Kerberos v5 GSS-API tokens. It contains commonly used definitions and utilities.
Author
Mayank Upadhyay

Field Summary

Modifier and TypeField and Description
public static final int
AP_REP_ID

The token id defined for the token emitted by the acceptSecContext call carrying the AP_REP .

public static final int
AP_REQ_ID

The token id defined for the token emitted by the initSecContext call carrying the AP_REQ .

public static final int
ERR_ID

The token id defined for any token carrying a KRB-ERR message.

public static final int
MIC_ID

The token id defined for the token emitted by the getMIC call.

public static final int
public static ObjectIdentifier
OID

The object identifier corresponding to the Kerberos v5 GSS-API mechanism.

public static final int
WRAP_ID

The token id defined for the token emitted by the wrap call.

public static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

the String name of this token type
getTokenName
(int
the token id for which a string name is desired
tokenId
)

Returns a strign representing the token type.

Inherited from sun.security.jgss.GSSToken:
getHexBytesgetHexBytesgetHexBytesreadBigEndianreadFullyreadFullyreadIntreadIntreadLittleEndianwriteBigEndianwriteBigEndianwriteIntwriteIntwriteLittleEndianwriteLittleEndian

Field Detail

AP_REP_IDback to summary
public static final int AP_REP_ID

The token id defined for the token emitted by the acceptSecContext call carrying the AP_REP .

AP_REQ_IDback to summary
public static final int AP_REQ_ID

The token id defined for the token emitted by the initSecContext call carrying the AP_REQ .

ERR_IDback to summary
public static final int ERR_ID

The token id defined for any token carrying a KRB-ERR message.

MIC_IDback to summary
public static final int MIC_ID

The token id defined for the token emitted by the getMIC call.

MIC_ID_v2back to summary
public static final int MIC_ID_v2
OIDback to summary
public static ObjectIdentifier OID

The object identifier corresponding to the Kerberos v5 GSS-API mechanism.

WRAP_IDback to summary
public static final int WRAP_ID

The token id defined for the token emitted by the wrap call.

WRAP_ID_v2back to summary
public static final int WRAP_ID_v2

Constructor Detail

Krb5Tokenback to summary
pack-priv Krb5Token()

Method Detail

getTokenNameback to summary
public static String getTokenName(int tokenId)

Returns a strign representing the token type.

Parameters
tokenId:int

the token id for which a string name is desired

Returns:String

the String name of this token type