Retrieve a Public Key Confirmation from the HSM.
cmu getpkc [-handle=<handle#>] [-outputfile=<filename>] [-pkctype=<type>] [-verify] [-password=<password>] [-slot=<slot#>]
|-handle=<handle#>||The handle to the corresponding private key for the PKC.|
|-outputfile=<filename>||The name of the file that receives the PKC.|
Defines the PKC type.
Valid values: 1(TC-TrustCenter),2(Chrysalis-ITS)
|-verify||Sets a flag to verify the PKC against the certificate that signed the PKC. It must be set to True or False (or 1 or 0), with False being the default.|
|-password=<password>||The password for the role accessing the current slot, with the current command. If this is not specified, it is prompted.|
|-slot=<slote#>||The slot to be acted upon, by the current command. If this is not specified, it is prompted.|
If you run the command with no parameters, you are prompted for the mandatory ones.
cmu getpkc –handle=5 –pkctype=1