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
-
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
public static final PKCS11Algorithm CKM_PBA_SHA1_WITH_SHA1_HMAC
-
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
public static final PKCS11Algorithm CKM_SHA_1_HMAC
-
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
-
-
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)
-
-