3F01h is the key file under the MF. You need to perform a secure session using this
key file to create any file(DF/EF) directly under the MF.
----------
To teach is to learn twice.
- Joseph Joubert
>-----Original Message-----
>From: Antonio Ruiz Mart�nez [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, August 08, 2000 4:07 PM
>To: opencard
>Subject: [OCF] GPK Test
>
>
>Hello!
> Could you help with the next source, please?
> ...
> store.storeCredential(0, credential);
> bag.addCredentialStore(store);
> fss.provideCredentials(ef_3F01, bag);
> ....
> store.storeCredential(0, credential);
> bag.addCredentialStore(store);
> fss.provideCredentials(ef_3F02, bag);
> ...
> System.out.println("\nCreating EF " + ef_6001 + " protected by " +
>ef_3F01);
> byte[] ac_6001 = {
> 2, 0, 2, 0, 2, 0
> };
> fus.createTransparentFile(ef_6001, 100, ac_6001);
>
> I don't understand?
> How the file ef_6001 is protected by ef_3F01?
> Is it by the access conditions? How?
> Their conditions for AC1, AC2 y AC3 are:
> 00 -> No secret code autentication
> 0 -> Level global: local/DF
> 0010 -> SFI of the key is 2
> but the SFI of ef_3F01 is 1
> I don't undestand?
>
> Is special the file ef_3F01?
>
> Thanks.
>
>
>
>---
>> 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.
---
> 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.