Hi,

Here is a working example...
Select the Applet
Authenticate ON THE APPLET (With the JCardManager, checks current selected application 
in the authentication panel!!!). 
Send your secured commands

regards,
                Christophe.


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, April 10, 2001 9:32 PM
>To: [EMAIL PROTECTED]
>Subject: [OCF] Secure channel in OpenPlatform Javacard
>
>
>HI all
>
>I am trying to communicate with an applet on a GXP211 card 
>using secure 
>channel. I use the JCardManager to generate encrypted and 
>MACed apdu, and I use 
>the unwrap() method to decrypt/verify the apdu in the applet. 
>However, the 
>unwrap() method always throw exception with error msg 6982 and 
>6985, what 
>happen?
>
>Michael
>
>
>---
>> 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.
>
>

OPPurse.java

Reply via email to