I don't know if people are getting my messages, but I'm doing something
similar. I'm using a GPK 8000 card and trying to use JSSE SSL with it, but
I'm having a hell of a time trying to get the two to co-operate. It seems
like SSL can take information from a certificate file / stream, but that's
about it. I can't find a way to use the smart card to store the
information to feed into SSL. Perhaps the easiest way would be to simply
store the certificate on the smart card, open a FileInputStream to it and
feed that into KeyStore. You'll have to make the certificate small
though. That's what I'm going to try next (I have the file system
interface simplified to allow this, but I can't seem to get SSL to accept
anything right now without throwing a "Untrusted Server Cert Chain"
exception. god I love java...
I'm assuming you've used/seen the sample applications? They show how to
load a certificate (duke's) and use it for SSL communications. Hope this
helps. If you get it working, drop me a line too.
Thanks
-- Sean
At 11:16 AM 3/09/01 +0100, you wrote:
>Hi,
>I am trying to connect the JSSE SSL implementation to OCF, i.e. SSL
>should use the smartcard to utilize the private key for decryption and
>signing. I don't see the starting point, maybe the class KeyStore ?
>I have read much doku, but I think I've overread the essential parts...
>
>Thanks for your help
>
>Michael
>
>
>
>
>---
> > 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.