Hy,
I write this code:
kgs = (KeyGenerationCardService)
card.getCardService(KeyGenerationCardService.class, true);
path = new CardFilePath(":3F00:C110");
pubKey = new PublicKeyFile(path, 1);
rsaPublic = (RSAPublicKey) kgs.readPublicKey(pubKey, "RSA");
bud I have this error message:
java.lang.ClassCastException
at
com.gemplus.opencard.service.gpk.signature.GPKKeyGenerationService.readPubli
cKey(GPKKeyGenerationService.java:192)
at smartcard.Test.generatingKeys(Test.java:129)
at smartcard.Test.main(Test.java:30)
You can help me?
Thank you,
Carlo.
---
> 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.