public enum EncryptionType extends Enum<EncryptionType> implements org.apache.kerby.asn1.EnumType
| Modifier and Type | Method and Description |
|---|---|
static EncryptionType |
fromName(String name) |
static EncryptionType |
fromValue(Integer value) |
String |
getDisplayName() |
String |
getName() |
int |
getValue() |
boolean |
usesAES256()
Is the type uses AES256 or not
|
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.
|
public static final EncryptionType NONE
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 DES
public static final EncryptionType DES_CBC_RAW
public static final EncryptionType DES3_CBC_SHA
public static final EncryptionType DES3_CBC_RAW
public static final EncryptionType DES_HMAC_SHA1
public static final EncryptionType DSA_SHA1_CMS
public static final EncryptionType MD5_RSA_CMS
public static final EncryptionType SHA1_RSA_CMS
public static final EncryptionType RC2_CBC_ENV
public static final EncryptionType RSA_ENV
public static final EncryptionType RSA_ES_OAEP_ENV
public static final EncryptionType DES3_CBC_ENV
public static final EncryptionType DES3_CBC_SHA1
public static final EncryptionType DES3_HMAC_SHA1
public static final EncryptionType DES3_CBC_SHA1_KD
public static final EncryptionType AES128_CTS_HMAC_SHA1_96
public static final EncryptionType AES128_CTS
public static final EncryptionType AES256_CTS_HMAC_SHA1_96
public static final EncryptionType AES256_CTS
public static final EncryptionType ARCFOUR_HMAC
public static final EncryptionType RC4_HMAC
public static final EncryptionType ARCFOUR_HMAC_MD5
public static final EncryptionType ARCFOUR_HMAC_EXP
public static final EncryptionType RC4_HMAC_EXP
public static final EncryptionType ARCFOUR_HMAC_MD5_EXP
public static final EncryptionType CAMELLIA128_CTS_CMAC
public static final EncryptionType CAMELLIA128_CTS
public static final EncryptionType CAMELLIA256_CTS_CMAC
public static final EncryptionType CAMELLIA256_CTS
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 nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface org.apache.kerby.asn1.EnumTypepublic String getName()
getName in interface org.apache.kerby.asn1.EnumTypepublic String getDisplayName()
public boolean usesAES256()
public static EncryptionType fromValue(Integer value)
public static EncryptionType fromName(String name)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.