Matej wrote:
I have looked at several XPCOm interfaces, but was unable to find out:

Check nsIX509Cert.idl, it's scriptable.
(lxr seems to have a problem, it doesn't list nsIX509Cert.idl as a match for nsIX509Cert )


You will find this :

/**
*  A human readable name identifying the hardware or
*  software token the certificate is stored on.
*/
readonly attribute AString tokenName;

It seems to be thee best there is (I believe you can set any name you want when configuring the token, so there's no garantee the token you search will have the name you expect, or if you find the correct name that it has not be redirected to another token. Except that this kind of change is at least harder to do for the default token, and maybe there's another interface that enables to get more info from the token name).
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to