Home >

Lunacm Command Reference Guide > LunaCM Commands > stcconfig > stcconfig hmacshow

stcconfig hmacshow

List the HMAC message digest algorithms you can use for message integrity verification on an STC link.

This command is available only if the current slot is a PPSO partition.

Syntax

stcconfig hmac show [-slot <slot_id>]

Parameter Shortcut Description
-slot <slot_id> -s <slot_id>

Specifies the slot containing the partition whose available HMAC algorithms you want to display.

This parameter is available only if you are logged into the HSM's Admin partition.

Example

Current slot
lunacm:> stcc hsh
 
This table lists the HMAC algorithms supported for STC links to the current slot.
Enabled algorithms are accepted during STC link negotiation with a client.
At least one HMAC algorithm must be enabled.
 
HMAC ID      HMAC Name                                Enabled
__________________________________________________________________
0            HMAC with SHA 256 Bit                    Yes
1            HMAC with SHA 512 Bit                    Yes
Specified slot
lunacm:> stcc hsh -s 2
 
This table lists the HMAC algorithms supported for STC links to the current slot.
Enabled algorithms are accepted during STC link negotiation with a client.
At least one HMAC algorithm must be enabled.
 
HMAC ID      HMAC Name                                Enabled
__________________________________________________________________
0            HMAC with SHA 256 Bit                    Yes
1            HMAC with SHA 512 Bit                    Yes