Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to import (inject) a private key into HSM?

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