On Mon, May 9, 2011 at 9:53 PM, Alon Bar-Lev <alon.bar...@gmail.com> wrote: > This is a matter of interpretation. > Either is not constant and user is not suppose to know of. > Apart of the special case of having a single slot, so you expect 0 I presume. > You can check which slot is what simply by using: > pkcs11-tool --list-slots --module /usr/lib/pkcs11/....
To me slots and slot ids shouldn't be included in any APIs or user interfaces involving PKCS #11. They do not make sense to end-user or even the application itself. In gnutls we have "p11tool" that does operations on PKCS #11 cards without any knowledge of slots. regards, Nikos _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel