Home >

Lunacm Command Reference Guide > LunaCM Commands > partition > partition restoresim3

partition restoresim3

Restore/insert HSM information from a SIM3 backup file. All objects in the file are restored to the HSM.

Syntax

partition restoresim3 [-auth <authorization password>] -filename <input file>

Parameter Shortcut Description
-auth -a The password that was used to protect the generated file, and now unlocks that file for restoring onto the partition. This parameter is required if the file is locked.
-filename -fi

The name of the backup file on your computer, from which the restore operation is performed.

Example

partition restoresim3 -filename somepartfile -auth $omePa55word
 
Restored Objects:
 
Object Handle: 14 (0xe)
Object Class: CKO_SECRET_KEY
Key Type: CKK_DES3
Label: Generated DES3 Key
 
Object Handle: 20 (0x14)
Object Class: CKO_SECRET_KEY
Key Type: CKK_DES3
Label: Generated DES3 Key
 
Object Handle: 30 (0x1e)
Object Class: CKO_SECRET_KEY
Key Type: CKK_DES2
Label: Generated DES2 Key
 
Object Handle: 31 (0x1f)
Object Class: CKO_SECRET_KEY
Key Type: CKK_AES
Label: Generated AES Key
 
Object Handle: 32 (0x20)
Object Class: CKO_PRIVATE_KEY
Key Type: CKK_RSA
Label: Generated RSA Private Key
 
Command Result : No Error