Hi Andreas,

I am writing a C++ application that must use PKCS11 API. I saw no function
that could help me in PKCS11 standard. I think I will directly send a select
APDU for checking files.

But, I have a remark. Should C_Initialize return CKR_GENERAL_ERROR when 2F00
or 5015 are not found ?

On page 16 of PKCS15 v1.1 standard, DF(PKCS#15) file identifier is not set.
It is written "AID is RID||"PKCS-15"". So, DF(PKCS#15) can change according
to personnalization tool. When I use Oberthur AuthentIC Manager DF 5011 is
created. File identifiers for AODFs, PrKDFs, PuKDFs and so are not the same
from one personnalisation tool to another. Is there a way for being
independent from personnalization tool ? Maybe in profile ?

Regards.

Eric

----- Original Message ----- 
From: "Andreas Jellinghaus" <[EMAIL PROTECTED]>
To: <opensc-devel@lists.opensc-project.org>
Sent: Wednesday, April 26, 2006 3:03 PM
Subject: Re: [opensc-devel] cannot find file with oberthur smart card


> Am Mittwoch, 26. April 2006 14:32 schrieb Eric Boudrand:
> > I found the cause of the issue. My smart card was not initialized for
> > OpenSC. How can my application know with PKCS11 interface that the smart
> > card is initialized ?
>
> I don't know any technical way to do that.
> sometimes "ls" in opensc-explorer gives you a hint
> (only some smart cards support "list files" and sometimes there is a hint,
>  for example a readable application id that points to the software used.)
>
> Other than that I can only suggest to ask whoever gave you the
> card for more details. Sorry.
>
> Good luck!
>
> Regards, Andreas
> _______________________________________________

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to