Reputation: 109
I have a custom smart card with PKI middleware (dll library) written by specification available at: http://msdn.microsoft.com/en-us/library/windows/hardware/gg487500.aspx
Is there a java wrapper for microsoft sc minidriver that I can use to access the card functions, or I would have to write my own JNI methods?
Thanks in advance!
Upvotes: 1
Views: 1815
Reputation: 4142
Minidriver works below a layer that is meant to be accessed by external applications (it is a plugin for the Windows system, generally speaking). What you want is access to CryptoAPI layer (from where the minidriver functionality is exposed if the card is inserted) and SunMSCAPI should provide the possibility. Have a look at Signing documents with SunMSCAPI and suppressing the "Enter PIN" dialog for example
Upvotes: 1