hello,
my problem is, whenever I run the below code,
FileAccessCardService facs = (FileAccessCardService)
sc.getCardService(FileAccessCardService.class, true);
CardFilePath path = new CardFilePath(":3F00");
PrivateKeyFile privKey = new PrivateKeyFile(path, 0);
PublicKeyFile pubKey = new PublicKeyFile(path, 1);
kgs.generateKeyPair(privKey, pubKey, 512, "RSA");
I received java.lang.NullPointer Exception at the last line.
he problem is probably related to file path on the card.
Actually I don`t know how to initial my file system to handle assymetric and
symmetric cryptography.
I am using OCF 1.2, Starcos SPK 2.3, PCT 200 reader on Windows XP.
Could any body help me.
-------------------------------------------------
This mail sent through IMP: http://webmail.students.itu.edu.tr
---
> 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.