12 Commits

Author SHA1 Message Date
wtc%netscape.com
ec8de2b7c8 Bug 186586: If at NSS shutdown there are still certs in the cert caches,
cause NSS shutdown and the next NSS initialization to fail but do not
destroy the cert caches (and the crypto context and trust domain containing
them) to avoid a crash if the NSS client destroys the certs later.  New
error codes needed to be added to indicate the failure of NSS shutdown and
NSS initialization due to this cause.


git-svn-id: svn://10.0.0.236/trunk@136016 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:58:29 +00:00
nelsonb%netscape.com
ce59d4e445 Change coding style used in nss/lib/pki to one that works with ctags.
Bug 169999.   Modified Files:
  asymmkey.c certdecode.c certificate.c cryptocontext.c pki3hack.c
  pkibase.c pkistore.c symmkey.c tdcache.c trustdomain.c


git-svn-id: svn://10.0.0.236/trunk@130289 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 21:32:35 +00:00
ian.mcgreer%sun.com
f87d824279 bug 135521, change cert lookups on tokens to be actual finds instead of traversals
git-svn-id: svn://10.0.0.236/trunk@118986 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 15:22:11 +00:00
ian.mcgreer%sun.com
35a34cf0b2 cleanup shutdown leak
git-svn-id: svn://10.0.0.236/trunk@113812 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 19:58:54 +00:00
ian.mcgreer%sun.com
95f9595544 implement local store of objects for crypto context
git-svn-id: svn://10.0.0.236/trunk@110461 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 17:32:23 +00:00
ian.mcgreer%sun.com
331318a796 first step towards separating token and session object searches as performance enhancement. Searches are still over both types until local cert and trust stores for crypto contexts are implemented.
git-svn-id: svn://10.0.0.236/trunk@110278 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 20:28:38 +00:00
ian.mcgreer%sun.com
54677fad6a fix memory leaks
git-svn-id: svn://10.0.0.236/trunk@109238 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 19:34:08 +00:00
ian.mcgreer%sun.com
233b7897cf land changes for handling temporary and cached certs in 3.4
* separate trust object from cert object
* move handling of cryptoki objects into libdev
* implement digest in libdev (for trust object indexing)
* fixes in cache implementation; connect cache to 3.4 certs
* implement CERT_NewTempCertificate via crypto context


git-svn-id: svn://10.0.0.236/trunk@109138 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 16:23:51 +00:00
ian.mcgreer%sun.com
92a29e6be9 fix optimized builds
git-svn-id: svn://10.0.0.236/trunk@105177 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:41:51 +00:00
ian.mcgreer%sun.com
cf86d46f16 define decoded cert type; implement cert cache; glue code for old NSS types; define global default trust domain
git-svn-id: svn://10.0.0.236/trunk@105162 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 16:34:49 +00:00
mcgreer%netscape.com
0f765a19da Use NSS_IMPLEMENT in code files for consistency.
Implement some basic certificate routines.
Define some of the PKI types.
Implement some trust domain routines, but only for testing purposes.
Allow for building as shared library.


git-svn-id: svn://10.0.0.236/trunk@102891 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 22:16:22 +00:00
mcgreer%netscape.com
7900424a67 what's this, a checkin to lib/pki?
stub out function implementations, make it build


git-svn-id: svn://10.0.0.236/trunk@99598 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 20:41:38 +00:00