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

public final Enum InquireType

extends Enum<InquireType>
Class Inheritance

Attribute types that can be specified as an argument of com.sun.security.jgss.ExtendedGSSContext#inquireSecContext
Since
1.7

Field Summary

Modifier and TypeField and Description
public static final InquireType
KRB5_GET_AUTHTIME

Attribute type for retrieving the authtime in the service ticket of an established Kerberos 5 security context.

public static final InquireType
KRB5_GET_AUTHZ_DATA

Attribute type for retrieving the authorization data in the service ticket of an established Kerberos 5 security context.

public static final InquireType
KRB5_GET_KRB_CRED

Attribute type for retrieving the KRB_CRED message that an initiator is about to send to an acceptor.

public static final InquireType
KRB5_GET_SESSION_KEY

Deprecated as of 9, replaced by KRB5_GET_SESSION_KEY_EX which returns an instance of javax.security.auth.kerberos.EncryptionKey that implements the javax.crypto.SecretKey interface and has similar methods with javax.security.auth.kerberos.KerberosKey.
Attribute type for retrieving the session key of an established Kerberos 5 security context.
public static final InquireType
KRB5_GET_SESSION_KEY_EX

Attribute type for retrieving the session key of an established Kerberos 5 security context.

public static final InquireType
KRB5_GET_TKT_FLAGS

Attribute type for retrieving the service ticket flags of an established Kerberos 5 security context.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static InquireType
public static InquireType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

KRB5_GET_AUTHTIMEback to summary
public static final InquireType KRB5_GET_AUTHTIME

Attribute type for retrieving the authtime in the service ticket of an established Kerberos 5 security context. The returned object is a String object in the standard KerberosTime format defined in RFC 4120 Section 5.2.3.

KRB5_GET_AUTHZ_DATAback to summary
public static final InquireType KRB5_GET_AUTHZ_DATA

Attribute type for retrieving the authorization data in the service ticket of an established Kerberos 5 security context. Only supported on the acceptor side.

KRB5_GET_KRB_CREDback to summary
public static final InquireType KRB5_GET_KRB_CRED

Attribute type for retrieving the KRB_CRED message that an initiator is about to send to an acceptor. The return type is an instance of javax.security.auth.kerberos.KerberosCredMessage.

Since
9
KRB5_GET_SESSION_KEYback to summary
public static final InquireType KRB5_GET_SESSION_KEY

Deprecated

as of 9, replaced by KRB5_GET_SESSION_KEY_EX which returns an instance of javax.security.auth.kerberos.EncryptionKey that implements the javax.crypto.SecretKey interface and has similar methods with javax.security.auth.kerberos.KerberosKey.

Attribute type for retrieving the session key of an established Kerberos 5 security context. The returned object is an instance of java.security.Key, which has the following properties:

  • Algorithm: enctype as a string, where enctype is defined in RFC 3961, section 8.
  • Format: "RAW"
  • Encoded form: the raw key bytes, not in any ASN.1 encoding
Annotations
@Deprecated
KRB5_GET_SESSION_KEY_EXback to summary
public static final InquireType KRB5_GET_SESSION_KEY_EX

Attribute type for retrieving the session key of an established Kerberos 5 security context. The return value is an instance of javax.security.auth.kerberos.EncryptionKey.

Since
9
KRB5_GET_TKT_FLAGSback to summary
public static final InquireType KRB5_GET_TKT_FLAGS

Attribute type for retrieving the service ticket flags of an established Kerberos 5 security context. The returned object is a boolean array for the service ticket flags, which is long enough to contain all true bits. This means if the user wants to get the n'th bit but the length of the returned array is less than n, it is regarded as false.

Constructor Detail

InquireTypeback to summary
private InquireType()

Method Detail

valueOfback to summary
public static InquireType valueOf(String name)
valuesback to summary
public static InquireType[] values()