p12import operation

This operation is available from SNS version 3.10.1 or 4.0.1 upwards.

It allows PKCS#12 files to be imported in .p12 format. If a file is not protected by a password, the "p12password" field has to remain empty. The "ondisk" parameter makes it possible to protect the private key contained in a PKCS#12 file by storing it on the TPM.

The TPM must be initialized before it can be used to protect a private key.

Format

"serial | any", p12import, none|ondisk, "p12file", "p12password"

EXAMPLES
SN310A00000000Z, p12import, none, file1.p12, file1PwdValue
SN310A00000000Z, p12import, none, file2.p12
SN310A00000000Z, p12import, ondisk, file3.p12, file3PwdValue
SN310A00000000Z, p12import, ondisk, file4.p12