How to convert a PKCS11 symmetric key into a javax.crypto symmetric key?
843811Jul 28 2008 — edited Jul 30 2008Hi. I am trying to convert a iaik.pkcs.pkcs11.objects.SecretKey+ into a javax.crypto.SecretKey* object but am unable to do so. My objective is to extract a PKCS11 SecretKey object from a SmartCard (done already) and then use it with a different piece of code which assumes that the key is a javax.crypto.SecretKey* object.
Thanks in advance to anyone who may help!!!