[OCF] configure opencard.properties
Hi, how I configure opencard.properties? im using a Omnikey 3121 USB reader and SLE4428 cards and STARCOS cards. thanks in advance.- __ Renovamos el Correo Yahoo!: ¡100 MB GRATIS! Nuevos servicios, más seguridad http://correo.yahoo.es --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
[OCF] response-APDU
Hi all. With this code http://www.opencard.org/archive/opencard/0857.html I get: : 69 85 but I seek in http://www.cardwerk.com/smartcards/smartcard_standard_ISO7816-4_6_basic_interindustry_commands.aspx#chap6_11_5 and dont see SW1=69 and SW2=85. I only see SW1='62' and '6A', then... whats the meaning of this response???, and when selected a file, how I know the right command for write or read a String in the Card? thanks in advance. __ Renovamos el Correo Yahoo!: ¡100 MB GRATIS! Nuevos servicios, más seguridad http://correo.yahoo.es --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
[OCF] about PassThruCardService
Hi, I give a Google GMail invitation who can help me to write and read a number from a smart card using PassThruCardService. Thanks.- __ Renovamos el Correo Yahoo!: ¡100 MB GRATIS! Nuevos servicios, más seguridad http://correo.yahoo.es --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
[OCF] simple question
I just want to write a number on a card and read the number from the card, is that too difficult??? __ Renovamos el Correo Yahoo!: ¡100 MB GRATIS! Nuevos servicios, más seguridad http://correo.yahoo.es --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
Re: [OCF] simple question
yes, I have read the manual, I have wrote the Writing your first sample application example and Writing your second sample application step by step, but dont works!!!. Second sample just write initializing file... and dont show nothing more... I read lots of emails from the archive and other webs, but I dont know how read and write data... More info: Card reader: Omnikey 3121 USB on win2000 Opencard.properties: ### # Card service configuration # ### OpenCard.services = \ com.ibm.opencard.factory.MFCCardServiceFactory \ opencard.opt.util.PassThruCardServiceFactory ### # Card terminal configuration # ### OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory ### # Trace configuration # ### OpenCard.trace = opencard:5 Please, help me, this is VERY difficult to me. --- Marco Ferretti [EMAIL PROTECTED] escribió: - maria wrote: I just want to write a number on a card and read thenumber from the card, is that too difficult??? __Renovamos el Correo Yahoo!: iexcl;100 MB GRATIS!Nuevos servicios, maacute;s seguridadhttp://correo.yahoo.es--- Visit the OpenCard web site at http://www.opencard.org/ for moreinformation on OpenCard---binaries, source code, documents.This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email! to! [EMAIL PROTECTED] containing the word! unsubscribe ! in the body. no , it not actually . did you take a look at the html book at http://www.opencard.org/docs/pguide/PGuide.html? It has example of read write on a card ... When people directs you somewhere is not because they're lazy butbecause there is the answer to your question ... at least the questionthe way you posted it ... chow 4 now __ Renovamos el Correo Yahoo!: ¡100 MB GRATIS! Nuevos servicios, más seguridad http://correo.yahoo.es --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
[OCF] OCF and other applications using smartcards
Hello, Is it possible to run an application using OCF and other applications which are using smartcard simultaneously? If my OCF application gains access to a smartcard other applications(which are written in C++) can't see it. And the same stuff will be in other way: the OCF application doesn't see smartcard if those applications are running. At the same time the applications written in C++ can be running simultaneously and there is no problem at all. Is the problem in my code or it is connected with OCF? Is there any way to make something about it? Best regards, Maria Indeeva --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
[OCF] WaitForCard() method
Hello, I wonder how to limit the time for the method SmartCard.WaitForCard() be waiting. Because I want user to know that card is not in the terminal and not just wait. Of course I can add listener and work with event, but in this case my reader doesn't see the card if it was inserted in advance and I have to remove it and insert it again to make it seen. I will appreciate any advice in connection with my question. Best regards, Maria --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
[OCF] Error in key file
Hello, When I try to sign the hash I get this exception: opencard.core.service.CardServiceInvalidParameterException: readKeyInfo: error in key file If you have any idea about the reason , please, let me know. Best regards, Maria --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
[OCF] Question about signing of data
Hello, Please find what is wrong in my code. When I try to sign some data from the file I get opencard.core.service.CardServiceInvalidCredentialException: = readKeyInfo:access condition not satisfied Probably I just don't know something but it seems to me (as it should = be) that I am doing everything right. I verify PIN2 before signing: ..SetCOSSignatureService sigService =3D (SetCOSSignatureService) sCard.getCardService(SetCOSSignatureService.class, true); // verify PIN 2 CardFilePath pathPIN2 =3D new CardFilePath(":3F00:5015:0040"); Access.selectFile(pathPIN2); String pin =3D "87654321"; Access.verifyPin(2,pin.getBytes()); // check if it was verify, it seems to be OK System.out.println(Access.queryPinAttemps(2)); // get reference for Private key 2 CardFilePath path =3D new CardFilePath(":3F00:5015:4b02"); PrivateKeyFile keyRef =3D new PrivateKeyFile(path,0); byte[] signature =3D = sigService.signHash(keyRef,JCAStandardNames.SHA1_RSA,data); In debugging I have: -1 // Shows that PIN was verified opencard.core.service.CardServiceInvalidCredentialException: = readKeyInfo: access condition not satisfied at = fi.setec.opencard.signature.SetCOS43SigCodes.analyseStatus(SetCOS43SigCod= es. java) at = fi.setec.opencard.signature.SetCOS43ISO7816_8SignatureImpl.readKeyInfo(Se= tCO S43ISO7816_8SignatureImpl.java) at = fi.setec.opencard.signature.SetCOSSignatureService.signDataInternal(SetCO= SSi gnatureService.java)the card was read... at = fi.setec.opencard.signature.SetCOSSignatureService.signHash(SetCOSSignatu= reS ervice.java) at smartcard.Reading.ListenForCard(Reading.java:107) at smartcard.Reading.main(Reading.java:44) Hope You will find what is wrong. Best regards. Maria --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
[OCF] Question about card services
I have a problem working with SetCos cards. In my opencard.property file there is this line: OpenCard.services = opencard.opt.util.PassThruCardServiceFactory \ fi.setec.opencard.factory.SetCOSCardServiceFactory Why when I am trying to get card service through PassThruCardService it looks like it is OK, but using SetCOSCardService it doesn't work and still is waiting for the card to be inserted? --- Visit the OpenCard web site at http://www.opencard.org/ for more information on OpenCard---binaries, source code, documents. This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.