p2pe key export
Command to export a key under a RSA public key using RSA OAEP encryption. Users can export Key Encryption Keys (KEK) from the P2PE service. See p2pe key generate for more information about generating a KEK for exporting from the P2PE service.
On Windows operating systems execute the command from an Administrator Command Prompt. Right-click the Command Prompt and select Run as Administrator.
Linux
p2pe key export [flags]
Windows
p2pe.exe key export [flags]
Flag | Description |
---|---|
--keyId |
The Id of the key to be exported. |
--certFile |
Certificate file containing the RSA public key. Acceptable file formats are: .pem , .cer , .crt , .der . Acceptable certificate encoding are PEM and DER. |
[--hashAlgo] |
Hash algorithm for RSA OAEP encryption. Options include SHA-1 , SHA-256 , SHA-384 , SHA-512 . (Default SHA-256 ) |
[--kcvType] |
Key Check Value calculation method. Options include ZL6 , CMAC . (Default ZL6 ) |
--help |
Help for the command. |
Linux Example
p2pe key export --keyId yzUEADoAAARcZAgA --certFile cert.pem --hashAlgo SHA-256 --kcvType ZL6
Windows Example
p2pe.exe key export --keyId yzUEADoAAARcZAgA --certFile cert.pem --hashAlgo SHA-256 --kcvType ZL6