Hello,

Le 25/01/2012 11:45, evalues evalues a écrit :
> 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 uses the function sc_pkcs15_verify_pin 
> for check if the PIN is correct, and if so authenticate the user on the 
> smartcard. Besides, I was looking the function CaredDeauthenticate, but I did 
> not find a pkcs15-funtion for
> deauthenticate, does it exist? If it exist, what is?

Not all the cards natively support the 'deauthenticate' function.
There is no such function in the OpenSC pkcs15 API.
In libopensc API there is the sc_logout() one, that calls the card specific 
'logout' handler, if this last one is implemented.

>
> Also, I want know if there is an API of pkcs15-function.
> Thank you.

Kind regards,
Viktor.
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to