|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ChecksumType>
org.apache.directory.shared.kerberos.crypto.checksum.ChecksumType
public enum ChecksumType
A type-safe enumeration of Kerberos checksum types.
| Enum Constant Summary | |
|---|---|
CRC32
The CRC32 checksum type (RFC3961). |
|
DES_MAC
The des-mac checksum type (RFC3961). |
|
DES_MAC_K
The des-mac-k checksum type (RFC3961). |
|
HMAC_MD5
The hmac-md5 checksum type (RFC4757). |
|
HMAC_SHA1_96_AES128
The hmac-sha1-96-aes128 checksum type (RFC3962). |
|
HMAC_SHA1_96_AES256
The hmac-sha1-96-aes256 checksum type (RFC3962). |
|
HMAC_SHA1_DES3
The hmac-sha1-des3 checksum type. |
|
HMAC_SHA1_DES3_KD
The hmac-sha1-des3-kd checksum type (RFC3961). |
|
NULL
The "null" checksum type. |
|
RSA_MD4
The rsa-md4 checksum type (RFC3961). |
|
RSA_MD4_DES
The rsa-md4-des checksum type (RFC3961). |
|
RSA_MD4_DES_K
The rsa-md4-des-k checksum type (RFC3961). |
|
RSA_MD5
The rsa-md5 checksum type (RFC3961). |
|
RSA_MD5_DES
The rsa-md5-des checksum type (RFC3961). |
|
RSA_MD5_DES3
The rsa-md5-des3 checksum type. |
|
SHA1
The sha1 (unkeyed) checksum type. |
|
SHA1_2
The sha1 (unkeyed) checksum type. |
|
UNKNOWN
The "unknown" checksum type. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name associated with this checksum type. |
static ChecksumType |
getTypeByValue(int type)
Returns the checksum type when specified by its value. |
int |
getValue()
Returns the number associated with this checksum type. |
String |
toString()
|
static ChecksumType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ChecksumType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Enum Constant Detail |
|---|
public static final ChecksumType UNKNOWN
public static final ChecksumType NULL
public static final ChecksumType CRC32
public static final ChecksumType RSA_MD4
public static final ChecksumType RSA_MD4_DES
public static final ChecksumType DES_MAC
public static final ChecksumType DES_MAC_K
public static final ChecksumType RSA_MD4_DES_K
public static final ChecksumType RSA_MD5
public static final ChecksumType RSA_MD5_DES
public static final ChecksumType RSA_MD5_DES3
public static final ChecksumType SHA1
public static final ChecksumType HMAC_SHA1_DES3_KD
public static final ChecksumType HMAC_SHA1_DES3
public static final ChecksumType SHA1_2
public static final ChecksumType HMAC_SHA1_96_AES128
public static final ChecksumType HMAC_SHA1_96_AES256
public static final ChecksumType HMAC_MD5
| Method Detail |
|---|
public static ChecksumType[] values()
for (ChecksumType c : ChecksumType.values()) System.out.println(c);
public static ChecksumType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static ChecksumType getTypeByValue(int type)
type -
public int getValue()
public String getName()
public String toString()
toString in class Enum<ChecksumType>Object.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||