Home >

Lunacm Command Reference Guide > LunaCM Commands > hsm > hsm showmechanism

hsm showmechanism

Displays a list of the cryptographic mechanisms supported on the HSM.

Note:  The lunacm hsm commands appear only when the current slot selected in lunacm is for a locally-installed HSM, such as a Luna PCI-E. When lunacm is directed at a slot corresponding to a remote Luna SA, the hsm-level commands do not appear, since lunacm has a client-only connection to a remote HSM and therefore cannot log in as SO to a remote HSM. To access HSM commands on the Luna SA appliance, you must use the Luna Shell (lunash).

Syntax

hsm showmechanism

Example

lunacm:> hsm showinfo
 
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
.
.
.
0x80000140 - CKM_DSA_SHA224
0x80000141 - CKM_DSA_SHA256
0x80000a02 - CKM_NIST_PRF_KDF
0x80000a03 - CKM_PRF_KDF
 
Command Result : No Error