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 wrote: > Hello, > > Le 09/03/2012 16:53, evalues evalues a écrit : > > Sorry, th

Re: [opensc-devel] Question about struct sc_pkcs15_id

2012-03-09 Thread evalues evalues
Sorry, the id that I use for the second certificate is 1000 Thank you. On Fri, Mar 9, 2012 at 4:51 PM, evalues evalues wrote: > 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

Re: [opensc-devel] Question about struct sc_pkcs15_id

2012-03-09 Thread evalues evalues
is a certificate with the same id within the smartcard. Thank you. On Wed, Mar 7, 2012 at 3:59 PM, Douglas E. Engert wrote: > > > 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 sma

Re: [opensc-devel] Question about struct sc_pkcs15_id

2012-03-07 Thread evalues evalues
7, 2012 at 12:02 AM, Douglas E. Engert wrote: > > > 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 >

[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, bec

Re: [opensc-devel] PKCS15 Deauthenticate Function

2012-02-24 Thread evalues evalues
If I use this command I get the next response: SW1 = 6D and SW2 = 00, and its meaning is that "Instruction code not supported or invalid". There is anything wrong? Can you explain to my how is the process to deauthenticate. Thank you On Thu, Feb 23, 2012 at 4:00 PM, evalues evalues wro

Re: [opensc-devel] PKCS15 Deauthenticate Function

2012-02-23 Thread evalues evalues
r = sc_transmit_apdu(card, &apdu); Thank you. On Fri, Feb 17, 2012 at 10:37 AM, Viktor Tarasov wrote: > > > On Wed, Feb 8, 2012 at 6:04 PM, evalues evalues wrote: > >> Hello, >> >> thanks for your answer. I'm working with Athena smartcard and I have seen >&

Re: [opensc-devel] PKCS15 Deauthenticate Function

2012-02-08 Thread evalues evalues
o the smartcard. I want know if it is possible to do the logout function for athena smartcard and the APDU that I should use. Thank you. On Sun, Jan 29, 2012 at 8:08 PM, Viktor Tarasov wrote: > Hello, > > Le 25/01/2012 11:45, evalues evalues a écrit : > > Hello, > > > > I ne

[opensc-devel] PKCS15 Deauthenticate Function

2012-01-25 Thread evalues evalues
Hello, I need know if at Opensc (opensc.dll version 0.12.1.0) there is a pkcs15-function that allows me to deauthenticate on a smart card. For example, I was looking the source code of this opensc version, and I found that in the file minidriver.c there is a function (CardAuthenticatePin) that use

[opensc-devel] Opensc with ASECard Crypto SmartCard

2011-10-21 Thread EVALUES
2 - Create the PKCS#15 structure on the card: pkcs15-init -C -T 3 - Initialize the smartcard: pkcs11-tool --init-token Best Regards, Evalues ___ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo

Re: [opensc-devel] Error with opensc in Windows

2010-02-01 Thread evalues
ribió: > You can use mingw in order to compile OpenSC for Windows. > You have maintained build environment at [1]. > > [1] http://opensc-project.org/build > > On Thu, Jan 28, 2010 at 6:17 PM, evalues wrote: > >> Hello, >> >> It's the first I'm

[opensc-devel] Error with opensc in Windows

2010-01-28 Thread evalues
Hello, It's the first I'm using opensc libraries and i have found some problems compiling the opensc project for Windows OS. I've downloaded the last opensc version 0.11.12, and I'm using Visual Studio 2005 to compile the project. To do it, I've linked with Libtool libltdl3 (version 1.5.26) and O