hsm showmechanism
Displays a list of the cryptographic mechanisms supported on the HSM.
NOTE The hsm commands appear only when LunaCM's active slot is set to the administrative partition.
Syntax
hsm showmechanism [-m <number>]
Argument(s) | Short | Description |
---|---|---|
. | . | With no arguments/options, lists all available mechanisms |
-m <number> | -m | Show expanded information for the indicated mechanism (optional). Include just the number, without the "0x" prefix. |
Example
lunacm:> hsm 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 0x0000000c - CKM_SHA1_RSA_X9_31 0x0000000d - CKM_RSA_PKCS_PSS 0x0000000e - CKM_SHA1_RSA_PKCS_PSS 0x00000010 - CKM_DSA_KEY_PAIR_GEN 0x00000011 - CKM_DSA 0x00000012 - CKM_DSA_SHA1 ....(clip)... 0x80000140 - CKM_DSA_SHA224 0x80000141 - CKM_DSA_SHA256 0x80000a02 - CKM_NIST_PRF_KDF 0x80000a03 - CKM_PRF_KDF Command Result : No Error lunacm:> hsm showmechanism -m 00000003 (0x3 - 3) CKM_RSA_X_509 Min Key Size 256 Max Key Size 8192 Flags 0x301 Command Result : No Error