partition showmechanism

Lists the supported mechanisms, or shows some detail about a named mechanism.

Syntax

partition showmechanism [-m <mech_ID_number> ]

Option Short Description
[no arguments] . Lists all available mechanisms.
-m <mech_ID_number> -m Shows expanded information for the indicated mechanism (optional), where <mech_ID_number> is a hex mechanism number either 4 or 8 digits long.

Example

List all mechanisms available to the partition
lunacm:> partition showmechanism


 Mechanisms Supported:
         0x00000000 - CKM_RSA_PKCS_KEY_PAIR_GEN
         0x00000001 - CKM_RSA_PKCS
         0x00000003 - CKM_RSA_X_509
         0x00000006 - CKM_SHA1_RSA_PKCS
         0x00000009 - CKM_RSA_PKCS_OAEP
         0x0000000a - CKM_RSA_X9_31_KEY_PAIR_GEN
         0x80000142 - CKM_RSA_FIPS_186_3_AUX_PRIME_KEY_PAIR_GEN
         0x80000143 - CKM_RSA_FIPS_186_3_PRIME_KEY_PAIR_GEN
         0x0000000b - CKM_RSA_X9_31
         0x0000000c - CKM_SHA1_RSA_X9_31
         0x80000135 - CKM_SHA224_RSA_X9_31
         0x80000136 - CKM_SHA256_RSA_X9_31
         0x80000137 - CKM_SHA384_RSA_X9_31
         0x80000138 - CKM_SHA512_RSA_X9_31
         0x8000013e - CKM_RSA_X9_31_NON_FIPS
         0x80000139 - CKM_SHA1_RSA_X9_31_NON_FIPS
         0x8000013a - CKM_SHA224_RSA_X9_31_NON_FIPS
         0x8000013b - CKM_SHA256_RSA_X9_31_NON_FIPS
         0x8000013c - CKM_SHA384_RSA_X9_31_NON_FIPS
         0x8000013d - CKM_SHA512_RSA_X9_31_NON_FIPS
         0x0000000d - CKM_RSA_PKCS_PSS
         0x0000000e - CKM_SHA1_RSA_PKCS_PSS
         :
         :
         0x00000365 - CKM_EXTRACT_KEY_FROM_KEY
         0x00000391 - CKM_MD2_KEY_DERIVATION
         0x00000390 - CKM_MD5_KEY_DERIVATION
         0x00000392 - CKM_SHA1_KEY_DERIVATION
         0x00000350 - CKM_GENERIC_SECRET_KEY_GEN
         0x00000371 - CKM_SSL3_MASTER_KEY_DERIVE
         0x00000372 - CKM_SSL3_KEY_AND_MAC_DERIVE
         0x00000380 - CKM_SSL3_MD5_MAC
         0x00000381 - CKM_SSL3_SHA1_MAC
         0x00000221 - CKM_SHA_1_HMAC
         0x00000222 - CKM_SHA_1_HMAC_GENERAL
         0x00000211 - CKM_MD5_HMAC
         0x00000212 - CKM_MD5_HMAC_GENERAL
         0x00000370 - CKM_SSL3_PRE_MASTER_KEY_GEN
         0x80000140 - CKM_DSA_SHA224
         0x80000141 - CKM_DSA_SHA256
         0x80000a02 - CKM_NIST_PRF_KDF
         0x80000a03 - CKM_PRF_KDF
Command Result : No Error

 

Show information about a particular mechanism
lunacm:> partition showmechanism -m 80000142

(0x80000142 - -2147483326) CKM_RSA_FIPS_186_3_AUX_PRIME_KEY_PAIR_GEN
         Min Key Size 1024
         Max Key Size 3072
         Flags 0x10001
Command Result : No Error