Re: [opensc-devel] Getting Facial image and Biometrics off Piv Card

2010-06-07 Thread Harry Anuszewski
. Thank you, Harry Anuszewski #!/bin/bash # Dump the objects on a PIV card in the reader. # to the current directory. # Although pkcs15-tool -C can do this, it dumps # to the printer. # export LD_LIBRARY_PATH=/opt/smartcard/lib export PATH=/opt/smartcard/bin:$PATH PDA="pkcs11-tool -r -y

[opensc-devel] OpenSC-java: Web application

2010-04-07 Thread Harry Anuszewski
Hello, I currently have a java application that allows the user to login to a website using a smart card. I use openSC-java to select a card reader, create a session and pull out certificate information, etc. I would like to make this a web application but I know that openSC-java depends on a f

Re: [opensc-devel] Getting Facial image and Biometrics off Piv Card

2010-04-07 Thread Harry Anuszewski
pkcs11-tool and a command line but is there a way to do it inside of a java program using standard native functions? Harry -Original Message- From: Douglas E. Engert [mailto:deeng...@anl.gov] Sent: Monday, April 05, 2010 6:01 PM To: Harry Anuszewski Cc: opensc-devel@lists.opensc

[opensc-devel] Getting Facial image and Biometrics off Piv Card

2010-04-05 Thread Harry Anuszewski
Hello, I am using openSC-java and want to pull data off a Fips 201 piv card. The things I'm interested in getting are the facial image and biometric information. Basically sending some adpu commands and getting byte arrays back. I know openSC is a very extensive library and have used the basic

[opensc-devel] [OpenSC-java] : Avoiding CKR_USER_ALREADY_LOGGED_IN

2010-01-29 Thread Harry Anuszewski
Hello, I am constinally running into the following error. Java: org.opensc.pkcs11.wrap.PKCS11Exception: C_Login for PKCS11 slot 0 failed. (CKR_USER_ALREADY_LOGGED_IN) Problem is I am not 100% sure how to Log a person out. The keystore has no destroy method and I can't have the applet load an

[opensc-devel] OpenSC-Java: PKCS11SessionStore vs, PKCS11Sesson and KeyStore

2010-01-28 Thread Harry Anuszewski
Hello, I am working on a program where a user is going to have to sign several pieces of data over the course of the time they are logged in. I am trying to find out the best way to use OpenSC-java where I can manage pin usage. For example the user logs in with there pin, then they make ch

[opensc-devel] OpenSC-Java required Dll and exe

2010-01-18 Thread Harry Anuszewski
Hello, I am just wondering what the minimally required dlls / exe to use opensc-java on a Windows 32 bit machine. Without using the Smart Card Bundle and just compiling a fresh copy of OpenSC what is needed to be copied to the System32 directory to make openSC-java load the provider and work.