Yes, I did. The card is in state INITIALIZED. Is there a reason for switching to SECURED? Or are all commands also in life cycle state INITIALIZED available?From which previous state did you try to getto 'Secured'? Also did you do a "Mutual Authentication" first?
(Initialize Update + External Auth)
Maybe I use the wrong AID for the CardManager, but I believe this is the right one for OpenPlatform Cards and my Cyberflex e-gate 32k.
Karsten Ohme wrote:
Hello,
I'm using a Cyberflex e-gate 32k. This card is compliant with JavaCard 2.1.1 and OpenPlatform 2.0.1'.
How can I set the state of the card to SECURED? Only the methods terminateCardManager() and lockCardManager() are available.
I tried the SET STATUS instruction by the apdu:
CLA INS P1 P2 Lc AID of CardManager Lc 0x80 0xf0 0x80 0x0f 0x07 0xa0 0x00 0x00 0x00 0x03 0x00 0x01 0x00
P1 should mean I want to modify the CardManager, P2 should mean the state SECURED.
But I get the error 6A 80 (SW_WRONG_DATA) or 69 85 (SW_CONDITIONS_NOT_SATISFIED) (when I tried different P1 and P2).
Thanks, Karsten
---
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.
