|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EncryptionType>
org.apache.directory.shared.kerberos.codec.types.EncryptionType
public enum EncryptionType
A type-safe enumeration of Kerberos encryption types.
| Enum Constant Summary | |
|---|---|
AES128_CTS_HMAC_SHA1_96
The aes128-cts-hmac-sha1-96 encryption type. |
|
AES256_CTS_HMAC_SHA1_96
The aes256-cts-hmac-sha1-96 encryption type. |
|
DES_CBC_CRC
The des-cbc-crc encryption type. |
|
DES_CBC_MD4
The des-cbc-md4 encryption type. |
|
DES_CBC_MD5
The des-cbc-md5 encryption type. |
|
DES_EDE3_CBC_ENV_OID
The des-ede3-cbc-Env-OID encryption type. |
|
DES3_CBC_MD5
The des3-cbc-md5 encryption type. |
|
DES3_CBC_SHA1
The des3-cbc-sha1 encryption type. |
|
DES3_CBC_SHA1_KD
The des3-cbc-sha1-kd encryption type. |
|
DSAWITHSHA1_CMSOID
The dsaWithSHA1-CmsOID encryption type. |
|
MD5WITHRSAENCRYPTION_CMSOID
The md5WithRSAEncryption-CmsOID encryption type. |
|
NULL
The "null" encryption type. |
|
RC2CBC_ENVOID
The rc2CBC-EnvOID encryption type. |
|
RC4_HMAC
The rc4-hmac encryption type. |
|
RC4_HMAC_EXP
The rc4-hmac-exp encryption type. |
|
RC4_HMAC_OLD
The c4-hmac-old encryption type. |
|
RC4_HMAC_OLD_EXP
The rc4-hmac-old-exp encryption type. |
|
RC4_MD4
The rc4-md4 encryption type. |
|
RESERVED4
The reserved (4) encryption type. |
|
RESERVED6
The reserved (6) encryption type. |
|
RSAENCRYPTION_ENVOID
The rsaEncryption-EnvOID encryption type. |
|
RSAES_OAEP_ENV_OID
The rsaES-OAEP-ENV-OID encryption type. |
|
SHA1WITHRSAENCRYPTION_CMSOID
The sha1WithRSAEncryption-CmsOID encryption type. |
|
SUBKEY_KEYMATERIAL
The subkey-keymaterial encryption type. |
|
UNKNOWN
The "unknown" encryption type. |
|
| Method Summary | |
|---|---|
static EncryptionType |
getByName(String type)
Get the EncryptionType given a String. |
static Collection<EncryptionType> |
getEncryptionTypes()
Get all the encryption types |
String |
getName()
Returns the name associated with this encryption type. |
static EncryptionType |
getTypeByValue(int type)
Returns the encryption type when specified by its value. |
int |
getValue()
Returns the number associated with this encryption type. |
String |
toString()
|
static EncryptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EncryptionType[] |
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 |
| Enum Constant Detail |
|---|
public static final EncryptionType UNKNOWN
public static final EncryptionType NULL
public static final EncryptionType DES_CBC_CRC
public static final EncryptionType DES_CBC_MD4
public static final EncryptionType DES_CBC_MD5
public static final EncryptionType RESERVED4
public static final EncryptionType DES3_CBC_MD5
public static final EncryptionType RESERVED6
public static final EncryptionType DES3_CBC_SHA1
public static final EncryptionType DSAWITHSHA1_CMSOID
public static final EncryptionType MD5WITHRSAENCRYPTION_CMSOID
public static final EncryptionType SHA1WITHRSAENCRYPTION_CMSOID
public static final EncryptionType RC2CBC_ENVOID
public static final EncryptionType RSAENCRYPTION_ENVOID
public static final EncryptionType RSAES_OAEP_ENV_OID
public static final EncryptionType DES_EDE3_CBC_ENV_OID
public static final EncryptionType DES3_CBC_SHA1_KD
public static final EncryptionType AES128_CTS_HMAC_SHA1_96
public static final EncryptionType AES256_CTS_HMAC_SHA1_96
public static final EncryptionType RC4_HMAC
public static final EncryptionType RC4_HMAC_EXP
public static final EncryptionType SUBKEY_KEYMATERIAL
public static final EncryptionType RC4_MD4
public static final EncryptionType RC4_HMAC_OLD
public static final EncryptionType RC4_HMAC_OLD_EXP
| Method Detail |
|---|
public static EncryptionType[] values()
for (EncryptionType c : EncryptionType.values()) System.out.println(c);
public static EncryptionType 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 Collection<EncryptionType> getEncryptionTypes()
public static EncryptionType getTypeByValue(int type)
type -
public int getValue()
public String getName()
public static EncryptionType getByName(String type)
type - The encryption string we want to find
public String toString()
toString in class Enum<EncryptionType>Object.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||