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 the initialized HSM's administrative partition.

Syntax

hsm showmechanism [-m <number>]

Option 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 8000001b

(0x8000001b - -2147483621) CKM_XOR_BASE_AND_KEY
         Min Key Size 8
         Max Key Size 4096
         Flags 0x80001
Command Result : No Error