not sure about athena, but many cards return the number of tries left, when you try to VERIFY a PIN. so if the PIN is wrong, the lower byte or nibble of the return code could be the number of tries left, and you can generate a messagebox from that.
Good Luck! Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel