Hi,

I got stuck with a little problem: how to protect RSA/DSA keys by a secret code? I use:

kms.createGeneratedPublicKeyFile(generatedKeyFile, ef_PINFile);
kgs.generateKeyPair(null, generatedKeyFile, -1, null);

where:
-> generatedKeyFile = new GPKSignatureUnwrapKeyFile(ef_RSAKey, 1024, 
GPKRSAKeyFile.CERTIFIED_KEY);
->ef_RSAKey & ef_PINFile = new CardFilePath(``:0200 : ...``);

and it doesn't work (the key is not even created, there are no any exceptions!). 

Any ideas?

Bartek.
----------------------------------------------------------------------------------------------------------------------
Bartek Paszkowski

Softman S.A.
ul. 17 Stycznia 9
05-500
Piaseczno

Tel. (+4822)7502240 w. 61





---
> 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.

Reply via email to