Page 1 of 1
How to enter user-ID in related form
Posted: Tue Dec 29, 2015 5:28 am
by Heerden
I am working on a project which has to enter user-ID in related form when the card is inserted into card reader. Once User ID is entered, there is a whole deal of programming done. But I don't know how to use javacard to enter this.
Does anyone know how to use javacard to enter user-ID?
Re: How to enter user-ID in related form
Posted: Wed Jan 06, 2016 5:40 am
by horse dream
Typically, your conversation with the smart card goes like this:
App: “List the X.509 certificates (usernames and public keys) for which you know the private keys.”
Card: “X.509 certificate for CN=Bob, signed by company’s Active Directory with CN=...”
App: “Authenticate the user using this PIN: 1234”
Card: “PIN valid.” The card is now ready to use its private key.
App: “Tell me the RSA (PKCS#1) signature using your private key of this 32-byte random number ...32 bytes...”
Card: “...128-byte signature...”
App verifies that the signature is valid using the public key, proving that the card does indeed have the private key stored in it.