public enum CheckSumType extends Enum<CheckSumType> implements org.apache.kerby.asn1.EnumType
| Enum Constant and Description |
|---|
CMAC_CAMELLIA128
Defined in RFC 6803, section 9
|
CMAC_CAMELLIA256
Defined in RFC 6803, section 9
|
CRC32
Defined in RFC 3961, section 6.1.3
|
DES_CBC |
DES_MAC
Defined in RFC 3961, section 6.2.7
|
HMAC_MD5_ARCFOUR
Defined in RFC 4757, section 4
|
HMAC_MD5_ENC |
HMAC_MD5_RC4 |
HMAC_SHA1_96_AES128
Defined in RFC 3962, section 7
|
HMAC_SHA1_96_AES256
Defined in RFC 3962, section 7
|
HMAC_SHA1_DES3
Defined in RFC 3961, section 6.3
|
HMAC_SHA1_DES3_KD |
MD5_HMAC_ARCFOUR |
NIST_SHA |
NONE |
RSA_MD4
Defined in RFC 3961, section 6.1.2
|
RSA_MD4_DES
Defined in RFC 3961, section 6.2.5
|
RSA_MD5
Defined in RFC 3961, section 6.1.1
|
RSA_MD5_DES
Defined in RFC 3961, section 6.2.4
|
| Modifier and Type | Method and Description |
|---|---|
static CheckSumType |
fromName(String name)
Get the CheckSumType associated with a name.
|
static CheckSumType |
fromValue(Integer value)
Get the CheckSumType associated with a value.
|
String |
getDisplayName() |
String |
getName() |
int |
getValue() |
boolean |
usesAES256()
Is the type uses AES256 or not
|
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.
|
public static final CheckSumType NONE
public static final CheckSumType CRC32
public static final CheckSumType RSA_MD4
public static final CheckSumType RSA_MD4_DES
public static final CheckSumType DES_CBC
public static final CheckSumType DES_MAC
public static final CheckSumType RSA_MD5
public static final CheckSumType RSA_MD5_DES
public static final CheckSumType NIST_SHA
public static final CheckSumType HMAC_SHA1_DES3
public static final CheckSumType HMAC_SHA1_DES3_KD
public static final CheckSumType HMAC_SHA1_96_AES128
public static final CheckSumType HMAC_SHA1_96_AES256
public static final CheckSumType CMAC_CAMELLIA128
public static final CheckSumType CMAC_CAMELLIA256
public static final CheckSumType MD5_HMAC_ARCFOUR
public static final CheckSumType HMAC_MD5_ARCFOUR
public static final CheckSumType HMAC_MD5_ENC
public static final CheckSumType HMAC_MD5_RC4
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 nameNullPointerException - if the argument is nullpublic static CheckSumType fromValue(Integer value)
value - The integer value of the CheckSumType we are looking forpublic static CheckSumType fromName(String name)
name - The name of the CheckSumType we are looking forpublic 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()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.