Hello, thanks for your answer. I'm working with Athena smartcard and I have seen that in the file card-asepcos.c, the function of logout is not implemented. I have seen in the file card-starcos.c that it have this function, and I have seen that the function is to send a certain APDU to the smartcard. I want know if it is possible to do the logout function for athena smartcard and the APDU that I should use.
Thank you. On Sun, Jan 29, 2012 at 8:08 PM, Viktor Tarasov <viktor.tara...@gmail.com>wrote: > 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