Enum PKCS11Algorithm

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PKCS11Algorithm>

    public enum PKCS11Algorithm
    extends java.lang.Enum<PKCS11Algorithm>
    • Enum Constant Detail

      • 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_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_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 name
        java.lang.NullPointerException - if the argument is null
      • getIndex

        public int getIndex()
      • getValue

        public long getValue()
      • valueOfConstant

        public static PKCS11Algorithm valueOfConstant​(long constant)