Sansec HSM User Manual V2.2
23
7.4.
SM2 Key Management
7.4.1.
Key Pair Generation
Each index location of the device corresponds to one SM2 key pair. The detailed
steps are as follows:
a)
Specifies the key location based on the indicated key index range.
Generate SM2 key pair
------------------
Generate new SM2 key pair according to key index.
Please input the key index or key index range(1-100, for example:1,3,5-12), or [Return(R)] >11
b) The generated key pair will be stored in the key storage area after it has been
encrypted by the system protection key.
Generating SM2 key pair with index 11 and 256 bits...successful
7.4.2.
Key Pair Deletion
Based on the prompt, input the key index, and delete SM2 key pair in the specified
location. This will completely destroy the SM2 key pair in this location.
Delete SM2 key pair-------------
_____|_______________________________________________________________________
1| [256] [256] [ - ] [ - ] [256] [ - ] [ - ] [ - ] [ - ][ - ]
11| [ - ] [ - ] [ - ] [ - ] [ - ] [ - ] [ - ] [ - ] [ - ] [ - ]
Input the key index for SM2 key pairs which will be deleted or [Return(R)]>1
The key pair with index 1 has been deleted.
7.4.3.
View Key State
View the SM2 key pair storage state in the current cryptographic device.
Viewing SM2 key pair state-----------------
_____|_______________________________________________________________________
1| [256] [256] [ - ] [ - ] [256] [ - ] [ - ] [ - ] [ - ][ - ]
11| [ - ] [ - ] [ - ] [ - ] [ - ] [ - ] [ - ] [ - ] [ - ] [ - ]