Hi again, Looking at PKCS#15 spec v1.1, i've seen some useful information concerning about my previously mail. On Section 6.9 about TokenInfo flags says:
---->%----->%----- TokenInfo.tokenflags: This field contains information about the token per se. Flags include: If the token is read-only, if login (i.e. authentication) is required before accessing any data, if the token supports pseudo-random number generation and whether it conforms to the electronic identification profile of this specification, specified in Annex C. ---->%----->%----- So, if token flag LOGIN_REQUIRED is set, there must be an authentication methode called before accessing any data of the smart card including the other PKCS#15 files, such as CDF, PrKDF or PuKDF. IMHO, I think this is not supported on OpenSC code, is it? Best Regards, El dv 23 de 06 del 2006 a les 10:58 +0200, en/na Albert Solana va escriure: > Hi all, > > Do you know any way to parse a PKCS#15 structure from a smart card that > some of its files (CDF, PuKDF, etc.) has read access protected by CHV? > > AFAIK, on the actual code, on pkcs15 init function, if it is not > possible to read any of its files (due to a read protection access), it > means that the objects pointing to will not be visible on any further > actions. Is there any procedure to re-read pkcs15 structure when the > user has autenticated by CHV and get the remaining pkcs15 objects? > > Best regards, -- Albert Solana Berengué [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax. 93 253 12 80 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel