|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.kerberos.shared.crypto.encryption.KeyUsage
public final class KeyUsage
From RFC 4120, "The Kerberos Network Authentication Service (V5)": 7.5.1. Key Usage Numbers The encryption and checksum specifications in [RFC3961] require as input a "key usage number", to alter the encryption key used in any specific message in order to make certain types of cryptographic attack more difficult. These are the key usage values assigned in [RFC 4120]:
Field Summary | |
---|---|
static KeyUsage |
NUMBER1
AS-REQ PA-ENC-TIMESTAMP padata timestamp, encrypted with the client key (Section 5.2.7.2) |
static KeyUsage |
NUMBER10
AP-REQ Authenticator cksum, keyed with the application session key (Section 5.5.1) |
static KeyUsage |
NUMBER11
AP-REQ Authenticator (includes application authenticator subkey), encrypted with the application session key (Section 5.5.1) |
static KeyUsage |
NUMBER12
AP-REP encrypted part (includes application session subkey), encrypted with the application session key (Section 5.5.2) |
static KeyUsage |
NUMBER13
KRB-PRIV encrypted part, encrypted with a key chosen by the application (Section 5.7.1) |
static KeyUsage |
NUMBER2
AS-REP Ticket and TGS-REP Ticket (includes TGS session key or application session key), encrypted with the service key (Section 5.3) |
static KeyUsage |
NUMBER3
AS-REP encrypted part (includes TGS session key or application session key), encrypted with the client key (Section 5.4.2) |
static KeyUsage |
NUMBER4
TGS-REQ KDC-REQ-BODY AuthorizationData, encrypted with the TGS session key (Section 5.4.1) |
static KeyUsage |
NUMBER5
TGS-REQ KDC-REQ-BODY AuthorizationData, encrypted with the TGS authenticator subkey (Section 5.4.1) |
static KeyUsage |
NUMBER6
TGS-REQ PA-TGS-REQ padata AP-REQ Authenticator cksum, keyed with the TGS session key (Section 5.5.1) |
static KeyUsage |
NUMBER7
TGS-REQ PA-TGS-REQ padata AP-REQ Authenticator (includes TGS authenticator subkey), encrypted with the TGS session key (Section 5.5.1) |
static KeyUsage |
NUMBER8
TGS-REP encrypted part (includes application session key), encrypted with the TGS session key (Section 5.4.2) |
static KeyUsage |
NUMBER9
TGS-REP encrypted part (includes application session key), encrypted with the TGS authenticator subkey (Section 5.4.2) |
static java.util.List<KeyUsage> |
VALUES
VALUES needs to be located here, otherwise illegal forward reference. |
Method Summary | |
---|---|
int |
compareTo(KeyUsage that)
|
int |
getOrdinal()
Returns the number associated with this key usage number. |
static KeyUsage |
getTypeByOrdinal(int type)
Returns the key usage number type when specified by its ordinal. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final KeyUsage NUMBER1
public static final KeyUsage NUMBER2
public static final KeyUsage NUMBER3
public static final KeyUsage NUMBER4
public static final KeyUsage NUMBER5
public static final KeyUsage NUMBER6
public static final KeyUsage NUMBER7
public static final KeyUsage NUMBER8
public static final KeyUsage NUMBER9
public static final KeyUsage NUMBER10
public static final KeyUsage NUMBER11
public static final KeyUsage NUMBER12
public static final KeyUsage NUMBER13
public static final java.util.List<KeyUsage> VALUES
Method Detail |
---|
public static KeyUsage getTypeByOrdinal(int type)
type
-
public int getOrdinal()
public int compareTo(KeyUsage that)
compareTo
in interface java.lang.Comparable<KeyUsage>
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |