Thanks, Dave _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto
I'm currently working with JSS and the question pertains to that but I
imagine it's applicable to NSS as well. Certs in the "softoken" certdb
don't have any prefix and you just ask for them by normal name. Any
certs that are on tokens get the token name prefixed and separated by a
:. The method CryptoManager.findCertByNickname doesn't search all
tokens. I don't see any sort of flag to search on all tokens (such as
certutil's -h option that you can use to list the contents of all
tokens). Is the intended behavior to ask the CryptoManager for an
enumeration of all tokens and get their names and then run through
multiple calls to CryptoManager.findCertByNickname with the token name
prefixed before the nickname?
- JSS nicknames + tokens David Stutzman
- Re: JSS nicknames + tokens Nelson B