Duplicate :
|
A DESCRIPTION OF THE PROBLEM : Thank you for comment. The problem is that it's impossible to use SunPKCS11 library to do an unwrap directly inside the HSM because the object created is a key that don't have the expected type and we can't use the object afterwards to do cipher and decipher operations because it isn't an AES but a generic secret key. FREQUENCY : always