I think I had some problems sending the message, so I repost.
Regards,
        Diego Pietralunga

-----Messaggio originale-----
Da: Diego Pietralunga [mailto:[EMAIL PROTECTED]]
Inviato: venerd� 27 aprile 2001 16.07
A: [EMAIL PROTECTED]
Oggetto: [OCF] Using OCF with a crypto toolkit with no smartcard support


Hello,
I'd like to know whether I can use OCF for "complex" crypto operations
provided by a third party.
Namely, I'm using the IAIK crypto toolkit (from Graz University, Austria)
for building a digital signature application enhanced by a crypto smartcard.

The problem is that IAIK provides all the necessary framework I need
(certificate handling and SMIME support) but it DOES NOT support smartcard
natively!

I came up with another third party library that provides the interface with
the token via DLL (so, only windows) basing on IBM PKCS11 Java Wrapper.
With that, I can (more or less) seamlessly "give" the PrivateKey reference
to the IAIK toolkit that does the work.

I would be really happy if this cuold be done also in OCF, because this
would be a 100% java solution.

Can this be done?

Best Regards,
        Diego Pietralunga

P.S.=I know that OCF provides a sign() method but unfortunaltely, this
returns a byte array which cannot be "passed" to IAIK (at least in my
release, 2.51) while,say, creating an SMIME object.



---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe
! in the body.




---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to