28 Commits

Author SHA1 Message Date
relyea%netscape.com
ae88814fc8 Fix spelling error.
git-svn-id: svn://10.0.0.236/trunk@121952 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:23:33 +00:00
relyea%netscape.com
394940b694 Automatically create a NULL email profile for certs with email addresses which
are imported into the internal token.


git-svn-id: svn://10.0.0.236/trunk@120975 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:38:59 +00:00
ian.mcgreer%sun.com
2fd68a1c79 When doing cert traversals, create the certs in full as they are found. This avoids thrashing the softoken's object cache when the database has a large number of certs.
git-svn-id: svn://10.0.0.236/trunk@119963 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 14:34:05 +00:00
ian.mcgreer%sun.com
bfdfb2a5be re-sync the trust domain cache with token insertion/removal
git-svn-id: svn://10.0.0.236/trunk@119434 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:06:44 +00:00
ian.mcgreer%sun.com
2f83527b52 landing new smart card cache, bug 135429
git-svn-id: svn://10.0.0.236/trunk@119274 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:30:05 +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
dbcf2c42b3 Land Stan changes to tip. Mostly header file / structure / API cleanup. Note
that these changes *do not* affect the current build, except for some minor edits.


git-svn-id: svn://10.0.0.236/trunk@118136 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 20:00:28 +00:00
relyea%netscape.com
156fb9e6dc Cache whether there are no CRL's and Trust objects on removable HW tokens
git-svn-id: svn://10.0.0.236/trunk@116101 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 23:21:39 +00:00
ian.mcgreer%sun.com
8e15d46893 bug 129298, handle different nicknames across tokens
r=relyea/a=wtc


git-svn-id: svn://10.0.0.236/trunk@116093 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:08:00 +00:00
ian.mcgreer%sun.com
0fd4de720c IMPLEMENT-->EXTERN for header file
git-svn-id: svn://10.0.0.236/trunk@115725 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 17:17:47 +00:00
ian.mcgreer%sun.com
c6c1bc65dc bug 125808, update cert token instances when caching smart card certs that are already cached
git-svn-id: svn://10.0.0.236/trunk@115724 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 17:13:54 +00:00
ian.mcgreer%sun.com
7ec531594f last part of bug 121628, permanent slots should respond immediately to IsPresent() call
git-svn-id: svn://10.0.0.236/trunk@113631 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 21:57:07 +00:00
ian.mcgreer%sun.com
126fdb9cd7 bug 121628, persistent cache of hardware token certs
git-svn-id: svn://10.0.0.236/trunk@113428 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 17:25:15 +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
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
1f69c02407 changes to get fips working
git-svn-id: svn://10.0.0.236/trunk@107709 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 00:36:12 +00:00
relyea%netscape.com
162c530b16 Land BOB_WORK_BRANCH unto the tip.
remove lots of depricated files.
move some files to appropriate directories (pcertdb *_rand
associated headers to soft token, for instance)
rename several stan files which had the same name as other nss files.
remove depricated functions.


git-svn-id: svn://10.0.0.236/trunk@107628 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:15:51 +00:00
ian.mcgreer%sun.com
23691f4bd8 set attributes function; rename find to traverse; return object handle on import
git-svn-id: svn://10.0.0.236/trunk@105781 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 18:10:58 +00:00
ian.mcgreer%sun.com
7ec77de1f4 get token name function; change cert function name
git-svn-id: svn://10.0.0.236/trunk@105628 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:39:11 +00:00
ian.mcgreer%sun.com
7043b5f496 check in cert lookup functions using the cache
git-svn-id: svn://10.0.0.236/trunk@105266 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 17:54:50 +00:00
ian.mcgreer%sun.com
2d3ef1d510 add glue code for old NSS types; fix certificate lookup
git-svn-id: svn://10.0.0.236/trunk@105161 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 16:33:38 +00:00
ian.mcgreer%sun.com
51f51d580d make this module buildable using NSS 3.x headers; some cleanup
git-svn-id: svn://10.0.0.236/trunk@104819 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:19:30 +00:00
ian.mcgreer%sun.com
0e75bc6671 some cleanup; collect token certs in a list
git-svn-id: svn://10.0.0.236/trunk@103335 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:38:08 +00:00
mcgreer%netscape.com
224311fbd6 the device API is not public, so move:
NSSModule_ ==> nssModule_
NSSSlot_   ==> nssSlot_
NSSToken_  ==> nssToken
Functions which should be public can be changed individually.


git-svn-id: svn://10.0.0.236/trunk@103226 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:47:23 +00:00
mcgreer%netscape.com
2c10ed3f44 use the list to collect certs
git-svn-id: svn://10.0.0.236/trunk@103225 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:37:21 +00:00
mcgreer%netscape.com
bf22305f42 first cut at password handling. todo: implement transaction-based passwords (at a higher level?)
git-svn-id: svn://10.0.0.236/trunk@103213 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 19:08:32 +00:00
mcgreer%netscape.com
bfe5a4a03b cleanup; add nssSession type to allow multiple sessions accessing the token API
git-svn-id: svn://10.0.0.236/trunk@103104 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 20:54:28 +00:00
mcgreer%netscape.com
4a2c156d61 initial checkin of the cryptoki device library code for stan. The current
amount of implemented code does little more than basic initialization of
a module and loading of a module's slots and tokens.


git-svn-id: svn://10.0.0.236/trunk@102889 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 22:06:10 +00:00