Hello,
I have just finished a "framework" for Smart Card KeyStore
implementations that allows to use the java class interface to store keys
and certificates in smart cards. I made it as generic as it can be, in order
to isolate the operations that are generic to all the cards from the ones
that are card specific.
So, I did the following: I extended the KeyStoreSpi class and coded
all the generic methods. There were 2 methods of this class that are card
specific (engineLoad and engineStore) plus 2 other methods whose interface I
defined (createBinaryFile and validFilename). So, in order to extended this
KeyStore to a particular card (that has a OCF FileSystemCardService
available), one just has to code these 4 simple methods.
I coded these 4 methods for the Schlumberger Cyberflex Open 16K card
(using the OCF FileSystemCardService that I released last September). So, if
you have one of these, my implementation is ready to run... If you have
another (with an OCF FileSystemCardService available), you can look at the
methods I coded for Schlumberger Cyberflex Open 16K as an inspiration.
The keys stored on the card are encrypted... So, all the information
on the card is public.
My implementation also needs a cryptographic provider like IAIK,
ABA, etc... that offer a Block Cipher (TripleDES by default) and a
MessageDigest (SHA-1 by default).
If anyone is interested in my implementation, just email me and I'll
send it to you (the sources are available free-of-charge under the GPL).
There are some details that are not refered in this message but are
in the sources and respective documentation...
Regards,
Pedro Borges
P.S.: For those who asked earlier me for my FileSystemCardService for
Schlumberger Cyberflex Open 16K, please let me know what you though of it
because no one ever did :(((
----------------------------------------------------------------------------
----
Pedro Miguel Pereira Borges 5th year of Systems and Computer
Engineering
[EMAIL PROTECTED] University of
Minho
http://gil.di.uminho.pt/~borges/ Braga -
PORTUGAL
----------------------------------------------------------------------------
----
"Na~o digas que e's pobre la' porque os teus sonhos se na~o realizaram. O
verda-
deiro pobre e' aquele que nunca sonhou"
Marie von Ebner-Eschenbach, Escritora Alema~ ( 1830 - 1916 )
----------------------------------------------------------------------------
----
---
> 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.