According to PKCS#11 version 2.2 ,function C_UnwrapKey can be used to create a new private key or secret key. My question is can this method be used to inject a private key (pem file) into the the HSM? If so ,how should the given template look like ? And if not what is the programmatic way to do so?
Can anyone please share a code sample for that?
Comments
Post a Comment