Hello,

just send the Get Response APDU (00 C0 00 00 04) after receiving the response.
If you want i can send you sample code.
You can also try to add a Le field set to 4 in your InternalAuthenticate command
APDU, in which case the GetResponse will be handled by the CardTerminal. But
actually i'm not sure this command can be sent in iso case 2 format.

Dominique

-----Original Message-----
From:   [EMAIL PROTECTED] (Bartek Paszkowski) 
Sent:   mercredi 1 d�cembre 1999 14:03
To:     [EMAIL PROTECTED]
Subject:        [OCF]  Get Response problem

Hi,

I use GPK4000 card and have just written Internal Authenticate method.
Everything seems fine (response codes SW1,SW2 are OK) but the problem is
how to retrieve the response (cryptogram).
opencard.core.terminal.ResponseAPDU.data() returns null. The GPK4000
manual says that I should use Get Response command but there is nothing
on  how to implement it.

Waiting for feedback,

Bartek Paszkowski.



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



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

Reply via email to