Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to convert iaik.pkcs.pkcs11.objects.RSAPrivateKey to java.security.key

843811Jul 24 2008 — edited Mar 3 2009
hello,I use iaik.pkcs.pkcs11.objects.RSAPrivateKey to extract privatekey from a digital card.
but now i want to use the java.security.key interface to encrypt a pdf document.
how can i convert iaik.pkcs.pkcs11.objects.RSAPrivateKey to java.security.key interface ?

thanks in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2009
Added on Jul 24 2008
3 comments
1,505 views