[prev in list] [next in list] [prev in thread] [next in thread]
List: bouncycastle-crypto-dev
Subject: Re: [dev-crypto] S/MIME and Smart Card
From: Tomas Gustavsson <tomasg () primekey ! se>
Date: 2007-06-15 7:11:26
Message-ID: 46723B9E.2090905 () primekey ! se
[Download RAW message or body]
Hi Jerry,
Without knowing barely anything anything about J2ME, I can at least say
that using regular java you only need a JCE provider (standard java api)
for your smartcard to get it working nicely with bouncycastle.
Bouncycastle classes almost always have a method that takes the name of
the signature provider as an argument.
So in this case you have to implement/override the JCE provider API to
make signatures with your card.
Cheers,
Tomas
Jerry.Hong@ricoh-usa.com skrev:
> I am working on a project that require a embedded device to send signed
> Email
> (S/MIME) by using smart card. The platform is J2ME without PKCS#11 support.
>
> My original plan is to use BouncyCastle S/MIME library to do most of the
> work,
> and just take care of the actual signature calculation portion, which will
> be
> sending APDU to the card, passing in the hash and getting back the
> encrypted byte[].
>
> Can somebody help me to clarify some of these questions?
> 1. Is this the correct approach?
> 2. Is this feasible?
> 3. How can I achieve this (which class to override)?
> 4. Any sample implementation?
>
> Thank you for your answers.
>
> Jerry
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic