[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [iaik-jce] [Smartcard]Converting PKCS11Object to PrivateKey
don't think there's an easy way, PKCS11 and JCE are 2 different things...
However, their APĪ's are quite alike. So it's not that difficult to create
a new small
JCE provider of your own that implements the SignatureSpi interface and in
you use the PKCS11API.
Guess that's the only way...
I have the following problem using smartcards for digital signatures:
I use the IAIK-JCE toolkit for cryptographic support (e.g:create
certificates,PKCS#7 messages,S/Mime,etc) and I must use the private key
To access the smartcard I use PKCS11 for Java from IBM.
The problem actually is: the PKCS#11 library always return a PKCS11Object,
and in the case of a private key,this is an indirect reference to the key,
as seen as you cannot access the private key.
This object can be handled by the PKCS#11 library's (very basic)
On the other hand, when I need to create more complex objects, using the
IAIK toolkit (which doesn't support smartcards), I have to pass a
How could I do to make the key independent from the repository and make the
IAIK API work as well?
Is is possible to use a "trick",a sort of cast?
Please help, because I have to implement a S/Mime message signed with a
smartcard-generated key and I'm now stuck with this.
Laboratorio di Telematica per il Territorio - Parma
To unsubscribe send an email to email@example.com with the folowing content:
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html
To unsubscribe send an email to firstname.lastname@example.org with the folowing content: UNSUBSCRIBE iaik-jce