org.opensc.pkcs11.wrap
Class PKCS11Mechanism
java.lang.Object
org.opensc.pkcs11.wrap.PKCS11Mechanism
public class PKCS11Mechanism
- extends Object
- Author:
- wglas
This class wrap a PKCS11 mechanism info, which is retrieved for
individual objects.
|
Constructor Summary |
PKCS11Mechanism(int type,
int minKeySize,
int maxKeySize,
int flags)
Construct a PKCS11Mechnism. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CKF_HW
public static final int CKF_HW
- See Also:
- Constant Field Values
CKF_ENCRYPT
public static final int CKF_ENCRYPT
- See Also:
- Constant Field Values
CKF_DECRYPT
public static final int CKF_DECRYPT
- See Also:
- Constant Field Values
CKF_DIGEST
public static final int CKF_DIGEST
- See Also:
- Constant Field Values
CKF_SIGN
public static final int CKF_SIGN
- See Also:
- Constant Field Values
CKF_SIGN_RECOVER
public static final int CKF_SIGN_RECOVER
- See Also:
- Constant Field Values
CKF_VERIFY
public static final int CKF_VERIFY
- See Also:
- Constant Field Values
CKF_VERIFY_RECOVER
public static final int CKF_VERIFY_RECOVER
- See Also:
- Constant Field Values
CKF_GENERATE
public static final int CKF_GENERATE
- See Also:
- Constant Field Values
CKF_GENERATE_KEY_PAIR
public static final int CKF_GENERATE_KEY_PAIR
- See Also:
- Constant Field Values
CKF_WRAP
public static final int CKF_WRAP
- See Also:
- Constant Field Values
CKF_UNWRAP
public static final int CKF_UNWRAP
- See Also:
- Constant Field Values
CKF_DERIVE
public static final int CKF_DERIVE
- See Also:
- Constant Field Values
CKF_EC_F_P
public static final int CKF_EC_F_P
- See Also:
- Constant Field Values
CKF_EC_F_2M
public static final int CKF_EC_F_2M
- See Also:
- Constant Field Values
CKF_EC_ECPARAMETERS
public static final int CKF_EC_ECPARAMETERS
- See Also:
- Constant Field Values
CKF_EC_NAMEDCURVE
public static final int CKF_EC_NAMEDCURVE
- See Also:
- Constant Field Values
CKF_EC_UNCOMPRESS
public static final int CKF_EC_UNCOMPRESS
- See Also:
- Constant Field Values
CKF_EC_COMPRESS
public static final int CKF_EC_COMPRESS
- See Also:
- Constant Field Values
CKM_RSA_PKCS_KEY_PAIR_GEN
public static final int CKM_RSA_PKCS_KEY_PAIR_GEN
- See Also:
- Constant Field Values
CKM_RSA_PKCS
public static final int CKM_RSA_PKCS
- See Also:
- Constant Field Values
CKM_RSA_9796
public static final int CKM_RSA_9796
- See Also:
- Constant Field Values
CKM_RSA_X_509
public static final int CKM_RSA_X_509
- See Also:
- Constant Field Values
CKM_MD2_RSA_PKCS
public static final int CKM_MD2_RSA_PKCS
- See Also:
- Constant Field Values
CKM_MD5_RSA_PKCS
public static final int CKM_MD5_RSA_PKCS
- See Also:
- Constant Field Values
CKM_SHA1_RSA_PKCS
public static final int CKM_SHA1_RSA_PKCS
- See Also:
- Constant Field Values
CKM_RIPEMD128_RSA_PKCS
public static final int CKM_RIPEMD128_RSA_PKCS
- See Also:
- Constant Field Values
CKM_RIPEMD160_RSA_PKCS
public static final int CKM_RIPEMD160_RSA_PKCS
- See Also:
- Constant Field Values
CKM_RSA_PKCS_OAEP
public static final int CKM_RSA_PKCS_OAEP
- See Also:
- Constant Field Values
CKM_RSA_X9_31_KEY_PAIR_GEN
public static final int CKM_RSA_X9_31_KEY_PAIR_GEN
- See Also:
- Constant Field Values
CKM_RSA_X9_31
public static final int CKM_RSA_X9_31
- See Also:
- Constant Field Values
CKM_SHA1_RSA_X9_31
public static final int CKM_SHA1_RSA_X9_31
- See Also:
- Constant Field Values
CKM_RSA_PKCS_PSS
public static final int CKM_RSA_PKCS_PSS
- See Also:
- Constant Field Values
CKM_SHA1_RSA_PKCS_PSS
public static final int CKM_SHA1_RSA_PKCS_PSS
- See Also:
- Constant Field Values
CKM_DSA_KEY_PAIR_GEN
public static final int CKM_DSA_KEY_PAIR_GEN
- See Also:
- Constant Field Values
CKM_DSA
public static final int CKM_DSA
- See Also:
- Constant Field Values
CKM_DSA_SHA1
public static final int CKM_DSA_SHA1
- See Also:
- Constant Field Values
CKM_DH_PKCS_KEY_PAIR_GEN
public static final int CKM_DH_PKCS_KEY_PAIR_GEN
- See Also:
- Constant Field Values
CKM_DH_PKCS_DERIVE
public static final int CKM_DH_PKCS_DERIVE
- See Also:
- Constant Field Values
CKM_X9_42_DH_KEY_PAIR_GEN
public static final int CKM_X9_42_DH_KEY_PAIR_GEN
- See Also:
- Constant Field Values
CKM_X9_42_DH_DERIVE
public static final int CKM_X9_42_DH_DERIVE
- See Also:
- Constant Field Values
CKM_X9_42_DH_HYBRID_DERIVE
public static final int CKM_X9_42_DH_HYBRID_DERIVE
- See Also:
- Constant Field Values
CKM_X9_42_MQV_DERIVE
public static final int CKM_X9_42_MQV_DERIVE
- See Also:
- Constant Field Values
CKM_SHA256_RSA_PKCS
public static final int CKM_SHA256_RSA_PKCS
- See Also:
- Constant Field Values
CKM_SHA384_RSA_PKCS
public static final int CKM_SHA384_RSA_PKCS
- See Also:
- Constant Field Values
CKM_SHA512_RSA_PKCS
public static final int CKM_SHA512_RSA_PKCS
- See Also:
- Constant Field Values
CKM_SHA256_RSA_PKCS_PSS
public static final int CKM_SHA256_RSA_PKCS_PSS
- See Also:
- Constant Field Values
CKM_SHA384_RSA_PKCS_PSS
public static final int CKM_SHA384_RSA_PKCS_PSS
- See Also:
- Constant Field Values
CKM_SHA512_RSA_PKCS_PSS
public static final int CKM_SHA512_RSA_PKCS_PSS
- See Also:
- Constant Field Values
CKM_RC2_KEY_GEN
public static final int CKM_RC2_KEY_GEN
- See Also:
- Constant Field Values
CKM_RC2_ECB
public static final int CKM_RC2_ECB
- See Also:
- Constant Field Values
CKM_RC2_CBC
public static final int CKM_RC2_CBC
- See Also:
- Constant Field Values
CKM_RC2_MAC
public static final int CKM_RC2_MAC
- See Also:
- Constant Field Values
CKM_RC2_MAC_GENERAL
public static final int CKM_RC2_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_RC2_CBC_PAD
public static final int CKM_RC2_CBC_PAD
- See Also:
- Constant Field Values
CKM_RC4_KEY_GEN
public static final int CKM_RC4_KEY_GEN
- See Also:
- Constant Field Values
CKM_RC4
public static final int CKM_RC4
- See Also:
- Constant Field Values
CKM_DES_KEY_GEN
public static final int CKM_DES_KEY_GEN
- See Also:
- Constant Field Values
CKM_DES_ECB
public static final int CKM_DES_ECB
- See Also:
- Constant Field Values
CKM_DES_CBC
public static final int CKM_DES_CBC
- See Also:
- Constant Field Values
CKM_DES_MAC
public static final int CKM_DES_MAC
- See Also:
- Constant Field Values
CKM_DES_MAC_GENERAL
public static final int CKM_DES_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_DES_CBC_PAD
public static final int CKM_DES_CBC_PAD
- See Also:
- Constant Field Values
CKM_DES2_KEY_GEN
public static final int CKM_DES2_KEY_GEN
- See Also:
- Constant Field Values
CKM_DES3_KEY_GEN
public static final int CKM_DES3_KEY_GEN
- See Also:
- Constant Field Values
CKM_DES3_ECB
public static final int CKM_DES3_ECB
- See Also:
- Constant Field Values
CKM_DES3_CBC
public static final int CKM_DES3_CBC
- See Also:
- Constant Field Values
CKM_DES3_MAC
public static final int CKM_DES3_MAC
- See Also:
- Constant Field Values
CKM_DES3_MAC_GENERAL
public static final int CKM_DES3_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_DES3_CBC_PAD
public static final int CKM_DES3_CBC_PAD
- See Also:
- Constant Field Values
CKM_CDMF_KEY_GEN
public static final int CKM_CDMF_KEY_GEN
- See Also:
- Constant Field Values
CKM_CDMF_ECB
public static final int CKM_CDMF_ECB
- See Also:
- Constant Field Values
CKM_CDMF_CBC
public static final int CKM_CDMF_CBC
- See Also:
- Constant Field Values
CKM_CDMF_MAC
public static final int CKM_CDMF_MAC
- See Also:
- Constant Field Values
CKM_CDMF_MAC_GENERAL
public static final int CKM_CDMF_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_CDMF_CBC_PAD
public static final int CKM_CDMF_CBC_PAD
- See Also:
- Constant Field Values
CKM_MD2
public static final int CKM_MD2
- See Also:
- Constant Field Values
CKM_MD2_HMAC
public static final int CKM_MD2_HMAC
- See Also:
- Constant Field Values
CKM_MD2_HMAC_GENERAL
public static final int CKM_MD2_HMAC_GENERAL
- See Also:
- Constant Field Values
CKM_MD5
public static final int CKM_MD5
- See Also:
- Constant Field Values
CKM_MD5_HMAC
public static final int CKM_MD5_HMAC
- See Also:
- Constant Field Values
CKM_MD5_HMAC_GENERAL
public static final int CKM_MD5_HMAC_GENERAL
- See Also:
- Constant Field Values
CKM_SHA_1
public static final int CKM_SHA_1
- See Also:
- Constant Field Values
CKM_SHA_1_HMAC
public static final int CKM_SHA_1_HMAC
- See Also:
- Constant Field Values
CKM_SHA_1_HMAC_GENERAL
public static final int CKM_SHA_1_HMAC_GENERAL
- See Also:
- Constant Field Values
CKM_RIPEMD128
public static final int CKM_RIPEMD128
- See Also:
- Constant Field Values
CKM_RIPEMD128_HMAC
public static final int CKM_RIPEMD128_HMAC
- See Also:
- Constant Field Values
CKM_RIPEMD128_HMAC_GENERAL
public static final int CKM_RIPEMD128_HMAC_GENERAL
- See Also:
- Constant Field Values
CKM_RIPEMD160
public static final int CKM_RIPEMD160
- See Also:
- Constant Field Values
CKM_RIPEMD160_HMAC
public static final int CKM_RIPEMD160_HMAC
- See Also:
- Constant Field Values
CKM_RIPEMD160_HMAC_GENERAL
public static final int CKM_RIPEMD160_HMAC_GENERAL
- See Also:
- Constant Field Values
CKM_CAST_KEY_GEN
public static final int CKM_CAST_KEY_GEN
- See Also:
- Constant Field Values
CKM_CAST_ECB
public static final int CKM_CAST_ECB
- See Also:
- Constant Field Values
CKM_CAST_CBC
public static final int CKM_CAST_CBC
- See Also:
- Constant Field Values
CKM_CAST_MAC
public static final int CKM_CAST_MAC
- See Also:
- Constant Field Values
CKM_CAST_MAC_GENERAL
public static final int CKM_CAST_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_CAST_CBC_PAD
public static final int CKM_CAST_CBC_PAD
- See Also:
- Constant Field Values
CKM_CAST3_KEY_GEN
public static final int CKM_CAST3_KEY_GEN
- See Also:
- Constant Field Values
CKM_CAST3_ECB
public static final int CKM_CAST3_ECB
- See Also:
- Constant Field Values
CKM_CAST3_CBC
public static final int CKM_CAST3_CBC
- See Also:
- Constant Field Values
CKM_CAST3_MAC
public static final int CKM_CAST3_MAC
- See Also:
- Constant Field Values
CKM_CAST3_MAC_GENERAL
public static final int CKM_CAST3_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_CAST3_CBC_PAD
public static final int CKM_CAST3_CBC_PAD
- See Also:
- Constant Field Values
CKM_CAST5_KEY_GEN
public static final int CKM_CAST5_KEY_GEN
- See Also:
- Constant Field Values
CKM_CAST128_KEY_GEN
public static final int CKM_CAST128_KEY_GEN
- See Also:
- Constant Field Values
CKM_CAST5_ECB
public static final int CKM_CAST5_ECB
- See Also:
- Constant Field Values
CKM_CAST128_ECB
public static final int CKM_CAST128_ECB
- See Also:
- Constant Field Values
CKM_CAST5_CBC
public static final int CKM_CAST5_CBC
- See Also:
- Constant Field Values
CKM_CAST128_CBC
public static final int CKM_CAST128_CBC
- See Also:
- Constant Field Values
CKM_CAST5_MAC
public static final int CKM_CAST5_MAC
- See Also:
- Constant Field Values
CKM_CAST128_MAC
public static final int CKM_CAST128_MAC
- See Also:
- Constant Field Values
CKM_CAST5_MAC_GENERAL
public static final int CKM_CAST5_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_CAST128_MAC_GENERAL
public static final int CKM_CAST128_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_CAST5_CBC_PAD
public static final int CKM_CAST5_CBC_PAD
- See Also:
- Constant Field Values
CKM_CAST128_CBC_PAD
public static final int CKM_CAST128_CBC_PAD
- See Also:
- Constant Field Values
CKM_RC5_KEY_GEN
public static final int CKM_RC5_KEY_GEN
- See Also:
- Constant Field Values
CKM_RC5_ECB
public static final int CKM_RC5_ECB
- See Also:
- Constant Field Values
CKM_RC5_CBC
public static final int CKM_RC5_CBC
- See Also:
- Constant Field Values
CKM_RC5_MAC
public static final int CKM_RC5_MAC
- See Also:
- Constant Field Values
CKM_RC5_MAC_GENERAL
public static final int CKM_RC5_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_RC5_CBC_PAD
public static final int CKM_RC5_CBC_PAD
- See Also:
- Constant Field Values
CKM_IDEA_KEY_GEN
public static final int CKM_IDEA_KEY_GEN
- See Also:
- Constant Field Values
CKM_IDEA_ECB
public static final int CKM_IDEA_ECB
- See Also:
- Constant Field Values
CKM_IDEA_CBC
public static final int CKM_IDEA_CBC
- See Also:
- Constant Field Values
CKM_IDEA_MAC
public static final int CKM_IDEA_MAC
- See Also:
- Constant Field Values
CKM_IDEA_MAC_GENERAL
public static final int CKM_IDEA_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_IDEA_CBC_PAD
public static final int CKM_IDEA_CBC_PAD
- See Also:
- Constant Field Values
CKM_GENERIC_SECRET_KEY_GEN
public static final int CKM_GENERIC_SECRET_KEY_GEN
- See Also:
- Constant Field Values
CKM_CONCATENATE_BASE_AND_KEY
public static final int CKM_CONCATENATE_BASE_AND_KEY
- See Also:
- Constant Field Values
CKM_CONCATENATE_BASE_AND_DATA
public static final int CKM_CONCATENATE_BASE_AND_DATA
- See Also:
- Constant Field Values
CKM_CONCATENATE_DATA_AND_BASE
public static final int CKM_CONCATENATE_DATA_AND_BASE
- See Also:
- Constant Field Values
CKM_XOR_BASE_AND_DATA
public static final int CKM_XOR_BASE_AND_DATA
- See Also:
- Constant Field Values
CKM_EXTRACT_KEY_FROM_KEY
public static final int CKM_EXTRACT_KEY_FROM_KEY
- See Also:
- Constant Field Values
CKM_SSL3_PRE_MASTER_KEY_GEN
public static final int CKM_SSL3_PRE_MASTER_KEY_GEN
- See Also:
- Constant Field Values
CKM_SSL3_MASTER_KEY_DERIVE
public static final int CKM_SSL3_MASTER_KEY_DERIVE
- See Also:
- Constant Field Values
CKM_SSL3_KEY_AND_MAC_DERIVE
public static final int CKM_SSL3_KEY_AND_MAC_DERIVE
- See Also:
- Constant Field Values
CKM_SSL3_MASTER_KEY_DERIVE_DH
public static final int CKM_SSL3_MASTER_KEY_DERIVE_DH
- See Also:
- Constant Field Values
CKM_TLS_PRE_MASTER_KEY_GEN
public static final int CKM_TLS_PRE_MASTER_KEY_GEN
- See Also:
- Constant Field Values
CKM_TLS_MASTER_KEY_DERIVE
public static final int CKM_TLS_MASTER_KEY_DERIVE
- See Also:
- Constant Field Values
CKM_TLS_KEY_AND_MAC_DERIVE
public static final int CKM_TLS_KEY_AND_MAC_DERIVE
- See Also:
- Constant Field Values
CKM_TLS_MASTER_KEY_DERIVE_DH
public static final int CKM_TLS_MASTER_KEY_DERIVE_DH
- See Also:
- Constant Field Values
CKM_SSL3_MD5_MAC
public static final int CKM_SSL3_MD5_MAC
- See Also:
- Constant Field Values
CKM_SSL3_SHA1_MAC
public static final int CKM_SSL3_SHA1_MAC
- See Also:
- Constant Field Values
CKM_MD5_KEY_DERIVATION
public static final int CKM_MD5_KEY_DERIVATION
- See Also:
- Constant Field Values
CKM_MD2_KEY_DERIVATION
public static final int CKM_MD2_KEY_DERIVATION
- See Also:
- Constant Field Values
CKM_SHA1_KEY_DERIVATION
public static final int CKM_SHA1_KEY_DERIVATION
- See Also:
- Constant Field Values
CKM_PBE_MD2_DES_CBC
public static final int CKM_PBE_MD2_DES_CBC
- See Also:
- Constant Field Values
CKM_PBE_MD5_DES_CBC
public static final int CKM_PBE_MD5_DES_CBC
- See Also:
- Constant Field Values
CKM_PBE_MD5_CAST_CBC
public static final int CKM_PBE_MD5_CAST_CBC
- See Also:
- Constant Field Values
CKM_PBE_MD5_CAST3_CBC
public static final int CKM_PBE_MD5_CAST3_CBC
- See Also:
- Constant Field Values
CKM_PBE_MD5_CAST5_CBC
public static final int CKM_PBE_MD5_CAST5_CBC
- See Also:
- Constant Field Values
CKM_PBE_MD5_CAST128_CBC
public static final int CKM_PBE_MD5_CAST128_CBC
- See Also:
- Constant Field Values
CKM_PBE_SHA1_CAST5_CBC
public static final int CKM_PBE_SHA1_CAST5_CBC
- See Also:
- Constant Field Values
CKM_PBE_SHA1_CAST128_CBC
public static final int CKM_PBE_SHA1_CAST128_CBC
- See Also:
- Constant Field Values
CKM_PBE_SHA1_RC4_128
public static final int CKM_PBE_SHA1_RC4_128
- See Also:
- Constant Field Values
CKM_PBE_SHA1_RC4_40
public static final int CKM_PBE_SHA1_RC4_40
- See Also:
- Constant Field Values
CKM_PBE_SHA1_DES3_EDE_CBC
public static final int CKM_PBE_SHA1_DES3_EDE_CBC
- See Also:
- Constant Field Values
CKM_PBE_SHA1_DES2_EDE_CBC
public static final int CKM_PBE_SHA1_DES2_EDE_CBC
- See Also:
- Constant Field Values
CKM_PBE_SHA1_RC2_128_CBC
public static final int CKM_PBE_SHA1_RC2_128_CBC
- See Also:
- Constant Field Values
CKM_PBE_SHA1_RC2_40_CBC
public static final int CKM_PBE_SHA1_RC2_40_CBC
- See Also:
- Constant Field Values
CKM_PKCS5_PBKD2
public static final int CKM_PKCS5_PBKD2
- See Also:
- Constant Field Values
CKM_PBA_SHA1_WITH_SHA1_HMAC
public static final int CKM_PBA_SHA1_WITH_SHA1_HMAC
- See Also:
- Constant Field Values
CKM_KEY_WRAP_LYNKS
public static final int CKM_KEY_WRAP_LYNKS
- See Also:
- Constant Field Values
CKM_KEY_WRAP_SET_OAEP
public static final int CKM_KEY_WRAP_SET_OAEP
- See Also:
- Constant Field Values
CKM_SKIPJACK_KEY_GEN
public static final int CKM_SKIPJACK_KEY_GEN
- See Also:
- Constant Field Values
CKM_SKIPJACK_ECB64
public static final int CKM_SKIPJACK_ECB64
- See Also:
- Constant Field Values
CKM_SKIPJACK_CBC64
public static final int CKM_SKIPJACK_CBC64
- See Also:
- Constant Field Values
CKM_SKIPJACK_OFB64
public static final int CKM_SKIPJACK_OFB64
- See Also:
- Constant Field Values
CKM_SKIPJACK_CFB64
public static final int CKM_SKIPJACK_CFB64
- See Also:
- Constant Field Values
CKM_SKIPJACK_CFB32
public static final int CKM_SKIPJACK_CFB32
- See Also:
- Constant Field Values
CKM_SKIPJACK_CFB16
public static final int CKM_SKIPJACK_CFB16
- See Also:
- Constant Field Values
CKM_SKIPJACK_CFB8
public static final int CKM_SKIPJACK_CFB8
- See Also:
- Constant Field Values
CKM_SKIPJACK_WRAP
public static final int CKM_SKIPJACK_WRAP
- See Also:
- Constant Field Values
CKM_SKIPJACK_PRIVATE_WRAP
public static final int CKM_SKIPJACK_PRIVATE_WRAP
- See Also:
- Constant Field Values
CKM_SKIPJACK_RELAYX
public static final int CKM_SKIPJACK_RELAYX
- See Also:
- Constant Field Values
CKM_KEA_KEY_PAIR_GEN
public static final int CKM_KEA_KEY_PAIR_GEN
- See Also:
- Constant Field Values
CKM_KEA_KEY_DERIVE
public static final int CKM_KEA_KEY_DERIVE
- See Also:
- Constant Field Values
CKM_FORTEZZA_TIMESTAMP
public static final int CKM_FORTEZZA_TIMESTAMP
- See Also:
- Constant Field Values
CKM_BATON_KEY_GEN
public static final int CKM_BATON_KEY_GEN
- See Also:
- Constant Field Values
CKM_BATON_ECB128
public static final int CKM_BATON_ECB128
- See Also:
- Constant Field Values
CKM_BATON_ECB96
public static final int CKM_BATON_ECB96
- See Also:
- Constant Field Values
CKM_BATON_CBC128
public static final int CKM_BATON_CBC128
- See Also:
- Constant Field Values
CKM_BATON_COUNTER
public static final int CKM_BATON_COUNTER
- See Also:
- Constant Field Values
CKM_BATON_SHUFFLE
public static final int CKM_BATON_SHUFFLE
- See Also:
- Constant Field Values
CKM_BATON_WRAP
public static final int CKM_BATON_WRAP
- See Also:
- Constant Field Values
CKM_ECDSA_KEY_PAIR_GEN
public static final int CKM_ECDSA_KEY_PAIR_GEN
- See Also:
- Constant Field Values
CKM_EC_KEY_PAIR_GEN
public static final int CKM_EC_KEY_PAIR_GEN
- See Also:
- Constant Field Values
CKM_ECDSA
public static final int CKM_ECDSA
- See Also:
- Constant Field Values
CKM_ECDSA_SHA1
public static final int CKM_ECDSA_SHA1
- See Also:
- Constant Field Values
CKM_ECDH1_DERIVE
public static final int CKM_ECDH1_DERIVE
- See Also:
- Constant Field Values
CKM_ECDH1_COFACTOR_DERIVE
public static final int CKM_ECDH1_COFACTOR_DERIVE
- See Also:
- Constant Field Values
CKM_ECMQV_DERIVE
public static final int CKM_ECMQV_DERIVE
- See Also:
- Constant Field Values
CKM_JUNIPER_KEY_GEN
public static final int CKM_JUNIPER_KEY_GEN
- See Also:
- Constant Field Values
CKM_JUNIPER_ECB128
public static final int CKM_JUNIPER_ECB128
- See Also:
- Constant Field Values
CKM_JUNIPER_CBC128
public static final int CKM_JUNIPER_CBC128
- See Also:
- Constant Field Values
CKM_JUNIPER_COUNTER
public static final int CKM_JUNIPER_COUNTER
- See Also:
- Constant Field Values
CKM_JUNIPER_SHUFFLE
public static final int CKM_JUNIPER_SHUFFLE
- See Also:
- Constant Field Values
CKM_JUNIPER_WRAP
public static final int CKM_JUNIPER_WRAP
- See Also:
- Constant Field Values
CKM_FASTHASH
public static final int CKM_FASTHASH
- See Also:
- Constant Field Values
CKM_AES_KEY_GEN
public static final int CKM_AES_KEY_GEN
- See Also:
- Constant Field Values
CKM_AES_ECB
public static final int CKM_AES_ECB
- See Also:
- Constant Field Values
CKM_AES_CBC
public static final int CKM_AES_CBC
- See Also:
- Constant Field Values
CKM_AES_MAC
public static final int CKM_AES_MAC
- See Also:
- Constant Field Values
CKM_AES_MAC_GENERAL
public static final int CKM_AES_MAC_GENERAL
- See Also:
- Constant Field Values
CKM_AES_CBC_PAD
public static final int CKM_AES_CBC_PAD
- See Also:
- Constant Field Values
CKM_DSA_PARAMETER_GEN
public static final int CKM_DSA_PARAMETER_GEN
- See Also:
- Constant Field Values
CKM_DH_PKCS_PARAMETER_GEN
public static final int CKM_DH_PKCS_PARAMETER_GEN
- See Also:
- Constant Field Values
CKM_X9_42_DH_PARAMETER_GEN
public static final int CKM_X9_42_DH_PARAMETER_GEN
- See Also:
- Constant Field Values
PKCS11Mechanism
public PKCS11Mechanism(int type,
int minKeySize,
int maxKeySize,
int flags)
- Construct a PKCS11Mechnism.
- Parameters:
type - The type of the mechanism.minKeySize - The minimal key size.maxKeySize - The maximal key size.flags - The flags.
getFlags
public int getFlags()
- Returns:
- Returns the flags, which is a bitwise or some CKF_* contants.
getMaxKeySize
public int getMaxKeySize()
- Returns:
- Returns the maxKeySize.
getMinKeySize
public int getMinKeySize()
- Returns:
- Returns the minKeySize.
getType
public int getType()
- Returns:
- Returns the type, which is one of the CKM_* contants.
getTypeName
public String getTypeName()
- Returns:
- Returns the name of the mechnism type as defined by the PKCS11 C header files.