what is format of unwrapped secret or private key?

3/2/2012 10:39:48 AM
666
Gravatar
Total Posts 1

what is format of unwrapped secret or private key?

hi all

as i understand from this thread http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&mid=22&ItemID=1&thread=15, format of key to be wrapped is not specified by PKCS11, so it can be any proprietary format of PKCS11 module, but usually PKCS#8 DER encoding is used for private key. What about secret key? Is any format used for secret keys or their value are just encrypted?

3/2/2012 1:55:20 PM
Gravatar
Total Posts 22

Re: what is format of unwrapped secret or private key?

I'm using SafeNet HSM and if im exporting security key i will get plain value. Not sure about any other modules... i think you just have to try and experiment with your module.