Enum Class PKCS11Algorithm

java.lang.Object
java.lang.Enum<PKCS11Algorithm>
org.mozilla.jss.crypto.PKCS11Algorithm
All Implemented Interfaces:
Serializable, Comparable<PKCS11Algorithm>, Constable

public enum PKCS11Algorithm extends Enum<PKCS11Algorithm>
  • Enum Constant Details

    • 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
  • Field Details

    • alg_index

      private int alg_index
    • pk11_value

      private long pk11_value
  • Constructor Details

    • PKCS11Algorithm

      private PKCS11Algorithm(int alg_index, long pk11_value)
  • Method Details

    • values

      public static PKCS11Algorithm[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PKCS11Algorithm valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      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)