Re: [opensc-devel] Question about struct sc_pkcs15_id

2012-03-10 Thread evalues evalues
Hello, thanks for your answers. Now I understand where I had the problem. I will limit that the option --id only can have pairs numbers. Thank you. On Fri, Mar 9, 2012 at 11:20 PM, Viktor Tarasov viktor.tara...@gmail.comwrote: Hello, Le 09/03/2012 16:53, evalues evalues a écrit : Sorry,

Re: [opensc-devel] Question about struct sc_pkcs15_id

2012-03-09 Thread evalues evalues
Hello, I try to add two certificates to the smart card with the command pkcs15-init -T --store-certificate with the option --id, and I use the id 100 with the first certificate and I use the id 100 with the second certificate. When I try to add the second certificate I obtain that there

Re: [opensc-devel] Question about struct sc_pkcs15_id

2012-03-07 Thread evalues evalues
Hello, you are right, I have not explained well the problem, sorry. I have a smartcard with three certificates and each certificate have a different ID (first certificate have the (without dot, all ids are numbers), second certificate have the id 100 and third certificate have the id

Re: [opensc-devel] Question about struct sc_pkcs15_id

2012-03-07 Thread Douglas E. Engert
On 3/7/2012 7:05 AM, evalues evalues wrote: Hello, you are right, I have not explained well the problem, sorry. I have a smartcard with three certificates and each certificate have a different ID (first certificate have the (without dot, all ids are numbers), second certificate

Re: [opensc-devel] Question about struct sc_pkcs15_id

2012-03-06 Thread Douglas E. Engert
On 3/5/2012 10:45 AM, evalues evalues wrote: Hello, how data is stored in this structure? I have been testing with numerical data and I think that the data are converted to hexadecimal in pairs and from right to left. For example, if I have the number 55.555.555 is converted into 85 85

[opensc-devel] Question about struct sc_pkcs15_id

2012-03-05 Thread evalues evalues
Hello, how data is stored in this structure? I have been testing with numerical data and I think that the data are converted to hexadecimal in pairs and from right to left. For example, if I have the number 55.555.555 is converted into 85 85 85 85. It is a problem when the number ends in zero,