Package org.mozilla.jss.crypto
Enum PKCS11Algorithm
- java.lang.Object
-
- java.lang.Enum<PKCS11Algorithm>
-
- org.mozilla.jss.crypto.PKCS11Algorithm
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PKCS11Algorithm>
public enum PKCS11Algorithm extends java.lang.Enum<PKCS11Algorithm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CKM_AES_CBC
CKM_AES_CBC_PAD
CKM_AES_CMAC
CKM_AES_ECB
CKM_AES_KEY_GEN
CKM_DES_CBC_PAD
CKM_DES_KEY_GEN
CKM_DES3_CBC_PAD
CKM_DES3_ECB
CKM_DES3_KEY_GEN
CKM_DSA_KEY_PAIR_GEN
CKM_EC_KEY_PAIR_GEN
CKM_MD2
CKM_MD5
CKM_NSS_AES_KEY_WRAP
CKM_NSS_AES_KEY_WRAP_PAD
CKM_NSS_SP800_108_COUNTER_KDF_DERIVE_DATA
CKM_NSS_SP800_108_DOUBLE_PIPELINE_KDF_DERIVE_DATA
CKM_NSS_SP800_108_FEEDBACK_KDF_DERIVE_DATA
CKM_PBA_SHA1_WITH_SHA1_HMAC
Deprecated, for removal: This API element is subject to removal in a future version.CKM_RC2_CBC_PAD
CKM_RC2_KEY_GEN
CKM_RC4_KEY_GEN
CKM_RSA_PKCS_KEY_PAIR_GEN
CKM_SHA_1
CKM_SHA_1_HMAC
Deprecated, for removal: This API element is subject to removal in a future version.CKM_SHA_256_HMAC
CKM_SHA_384_HMAC
CKM_SHA_512_HMAC
CKM_SHA256
CKM_SHA384
CKM_SHA512
CKM_SP800_108_COUNTER_KDF
CKM_SP800_108_DOUBLE_PIPELINE_KDF
CKM_SP800_108_FEEDBACK_KDF
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
long
getValue()
static PKCS11Algorithm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PKCS11Algorithm
valueOfConstant(long constant)
static PKCS11Algorithm
valueOfIndex(int index)
static PKCS11Algorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CKM_AES_CBC
public static final PKCS11Algorithm CKM_AES_CBC
-
CKM_AES_CBC_PAD
public static final PKCS11Algorithm CKM_AES_CBC_PAD
-
CKM_AES_ECB
public static final PKCS11Algorithm CKM_AES_ECB
-
CKM_AES_KEY_GEN
public static final PKCS11Algorithm CKM_AES_KEY_GEN
-
CKM_DES3_CBC_PAD
public static final PKCS11Algorithm CKM_DES3_CBC_PAD
-
CKM_DES3_ECB
public static final PKCS11Algorithm CKM_DES3_ECB
-
CKM_DES3_KEY_GEN
public static final PKCS11Algorithm CKM_DES3_KEY_GEN
-
CKM_DES_CBC_PAD
public static final PKCS11Algorithm CKM_DES_CBC_PAD
-
CKM_DES_KEY_GEN
public static final PKCS11Algorithm CKM_DES_KEY_GEN
-
CKM_DSA_KEY_PAIR_GEN
public static final PKCS11Algorithm CKM_DSA_KEY_PAIR_GEN
-
CKM_EC_KEY_PAIR_GEN
public static final PKCS11Algorithm CKM_EC_KEY_PAIR_GEN
-
CKM_NSS_AES_KEY_WRAP
public static final PKCS11Algorithm CKM_NSS_AES_KEY_WRAP
-
CKM_NSS_AES_KEY_WRAP_PAD
public static final PKCS11Algorithm CKM_NSS_AES_KEY_WRAP_PAD
-
CKM_PBA_SHA1_WITH_SHA1_HMAC
@Deprecated(since="5.0.1", forRemoval=true) public static final PKCS11Algorithm CKM_PBA_SHA1_WITH_SHA1_HMAC
Deprecated, for removal: This API element is subject to removal in a future version.
-
CKM_RC2_CBC_PAD
public static final PKCS11Algorithm CKM_RC2_CBC_PAD
-
CKM_RC2_KEY_GEN
public static final PKCS11Algorithm CKM_RC2_KEY_GEN
-
CKM_RC4_KEY_GEN
public static final PKCS11Algorithm CKM_RC4_KEY_GEN
-
CKM_RSA_PKCS_KEY_PAIR_GEN
public static final PKCS11Algorithm CKM_RSA_PKCS_KEY_PAIR_GEN
-
CKM_SHA_1_HMAC
@Deprecated(since="5.0.1", forRemoval=true) public static final PKCS11Algorithm CKM_SHA_1_HMAC
Deprecated, for removal: This API element is subject to removal in a future version.
-
CKM_SHA_256_HMAC
public static final PKCS11Algorithm CKM_SHA_256_HMAC
-
CKM_SHA_384_HMAC
public static final PKCS11Algorithm CKM_SHA_384_HMAC
-
CKM_SHA_512_HMAC
public static final PKCS11Algorithm CKM_SHA_512_HMAC
-
CKM_AES_CMAC
public static final PKCS11Algorithm CKM_AES_CMAC
-
CKM_SP800_108_COUNTER_KDF
public static final PKCS11Algorithm CKM_SP800_108_COUNTER_KDF
-
CKM_SP800_108_FEEDBACK_KDF
public static final PKCS11Algorithm CKM_SP800_108_FEEDBACK_KDF
-
CKM_SP800_108_DOUBLE_PIPELINE_KDF
public static final PKCS11Algorithm CKM_SP800_108_DOUBLE_PIPELINE_KDF
-
CKM_NSS_SP800_108_COUNTER_KDF_DERIVE_DATA
public static final PKCS11Algorithm CKM_NSS_SP800_108_COUNTER_KDF_DERIVE_DATA
-
CKM_NSS_SP800_108_FEEDBACK_KDF_DERIVE_DATA
public static final PKCS11Algorithm CKM_NSS_SP800_108_FEEDBACK_KDF_DERIVE_DATA
-
CKM_NSS_SP800_108_DOUBLE_PIPELINE_KDF_DERIVE_DATA
public static final PKCS11Algorithm CKM_NSS_SP800_108_DOUBLE_PIPELINE_KDF_DERIVE_DATA
-
CKM_MD2
public static final PKCS11Algorithm CKM_MD2
-
CKM_MD5
public static final PKCS11Algorithm CKM_MD5
-
CKM_SHA_1
public static final PKCS11Algorithm CKM_SHA_1
-
CKM_SHA256
public static final PKCS11Algorithm CKM_SHA256
-
CKM_SHA384
public static final PKCS11Algorithm CKM_SHA384
-
CKM_SHA512
public static final PKCS11Algorithm CKM_SHA512
-
-
Method Detail
-
values
public static PKCS11Algorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PKCS11Algorithm c : PKCS11Algorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PKCS11Algorithm valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getIndex
public int getIndex()
-
getValue
public long getValue()
-
valueOfIndex
public static PKCS11Algorithm valueOfIndex(int index)
-
valueOfConstant
public static PKCS11Algorithm valueOfConstant(long constant)
-
-