On 5/4/2010 3:41 PM, M.Hunstock wrote:
1. What is the criteria of NSS for distinguishing between "own" and
"others" certificates?
This function [1] used from [2] should return true for your
certificate. If there is a private key, then you should see it in the
user tab. However, the code for putting certs to the right tab is not
perfect.
Then, check nickname of your certificates is visible in the certificate
viewer and that it doesn't contain any special characters, I have seen a
bug with a malformed nickname and putting a cert to a different tab.
[1]
http://mxr.mozilla.org/mozilla-central/source/security/nss/lib/pk11wrap/pk11cert.c#152
[2]
http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/src/nsNSSCertHelper.cpp#2240
-hb-
--
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto