| java.lang.Object sun.security.jgss.GSSToken sun.security.jgss.krb5.Krb5Token
All known Subclasses: sun.security.jgss.krb5.InitialToken, sun.security.jgss.krb5.MessageToken_v2, sun.security.jgss.krb5.MessageToken,
Krb5Token | abstract class Krb5Token extends GSSToken (Code) | | This class represents a base class for all Kerberos v5 GSS-API
tokens. It contains commonly used definitions and utilities.
author: Mayank Upadhyay version: 1.19, 05/05/07 |
Field Summary | |
final public static int | AP_REP_ID The token id defined for the token emitted by the acceptSecContext call
carrying the AP_REP . | final public static int | AP_REQ_ID The token id defined for the token emitted by the initSecContext call
carrying the AP_REQ . | final public static int | ERR_ID The token id defined for any token carrying a KRB-ERR message. | final public static int | MIC_ID The token id defined for the token emitted by the getMIC call. | final public static int | MIC_ID_v2 | public static ObjectIdentifier | OID The object identifier corresponding to the Kerberos v5 GSS-API
mechanism. | final public static int | WRAP_ID The token id defined for the token emitted by the wrap call. | final public static int | WRAP_ID_v2 |
Method Summary | |
public static String | getTokenName(int tokenId) Returns a strign representing the token type. |
AP_REP_ID | final public static int AP_REP_ID(Code) | | The token id defined for the token emitted by the acceptSecContext call
carrying the AP_REP .
|
AP_REQ_ID | final public static int AP_REQ_ID(Code) | | The token id defined for the token emitted by the initSecContext call
carrying the AP_REQ .
|
ERR_ID | final public static int ERR_ID(Code) | | The token id defined for any token carrying a KRB-ERR message.
|
MIC_ID | final public static int MIC_ID(Code) | | The token id defined for the token emitted by the getMIC call.
|
MIC_ID_v2 | final public static int MIC_ID_v2(Code) | | |
OID | public static ObjectIdentifier OID(Code) | | The object identifier corresponding to the Kerberos v5 GSS-API
mechanism.
|
WRAP_ID | final public static int WRAP_ID(Code) | | The token id defined for the token emitted by the wrap call.
|
WRAP_ID_v2 | final public static int WRAP_ID_v2(Code) | | |
getTokenName | public static String getTokenName(int tokenId)(Code) | | Returns a strign representing the token type.
Parameters: tokenId - the token id for which a string name is desired the String name of this token type |
Methods inherited from sun.security.jgss.GSSToken | final public static void debug(String str)(Code)(Java Doc) final public static String getHexBytes(byte[] bytes)(Code)(Java Doc) final public static String getHexBytes(byte[] bytes, int len)(Code)(Java Doc) final public static String getHexBytes(byte[] bytes, int pos, int len)(Code)(Java Doc) final public static int readBigEndian(byte[] data, int pos, int size)(Code)(Java Doc) final public static void readFully(InputStream is, byte[] buffer) throws IOException(Code)(Java Doc) final public static void readFully(InputStream is, byte[] buffer, int offset, int len) throws IOException(Code)(Java Doc) final public static int readInt(InputStream is) throws IOException(Code)(Java Doc) final public static int readInt(byte[] src, int pos)(Code)(Java Doc) final public static int readLittleEndian(byte[] data, int pos, int size)(Code)(Java Doc) final public static void writeBigEndian(int value, byte[] array)(Code)(Java Doc) final public static void writeBigEndian(int value, byte[] array, int pos)(Code)(Java Doc) final public static void writeInt(int val, OutputStream os) throws IOException(Code)(Java Doc) final public static int writeInt(int val, byte[] dest, int pos)(Code)(Java Doc) final public static void writeLittleEndian(int value, byte[] array)(Code)(Java Doc) final public static void writeLittleEndian(int value, byte[] array, int pos)(Code)(Java Doc)
|
|
|