Re: [Fwd: Re: [opensc-devel] Reading PKCS#15 files protected by CHV]

2006-06-27 Thread Andreas Jellinghaus
Albert Solana wrote: Some days ago, I've sent two e-mails on this list, and i've got no answer. Hi Albert, sorry I got your mail, but all I can reply is "I don't knoe". 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

Re: [opensc-devel] Re: [opensc-commits] svn opensc changed [2968] Added support for MuscleCard applet.

2006-06-27 Thread Stef Hoeben
Nils Larsch wrote: Stef Hoeben wrote: Hi, +void ulong2bebytes(u8 *buf, unsigned long x) +{ +buf[3] = (u8) (x % 256); +x /= 256; +buf[2] = (u8) (x % 256); +x /= 256; +buf[1] = (u8) (x % 256); +buf[0] = (u8) (x / 256); +} I would prefer #define ULONG2BEBYTES(p, x)

[Fwd: Re: [opensc-devel] Reading PKCS#15 files protected by CHV]

2006-06-27 Thread Albert Solana
Hello all, Some days ago, I've sent two e-mails on this list, and i've got no answer. In short, my question was: 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? I forward my two previous e-mails, in c