Граф коммитов

288 Коммитов

Автор SHA1 Сообщение Дата
chrisk%netscape.com 5fa6481281 Added and corrected some comments
Added $layercounter
Clarified $boundary generation (a boundary has leading AND trailing CRLFs!)
2000-06-23 18:37:33 +00:00
chrisk%netscape.com db4089bbb0 Preliminary checkin at a state where smime can parse messages generated
by itself.
2000-06-23 16:40:31 +00:00
ddrinan%netscape.com f92d2d6c1d Changed version to 1.2 2000-06-22 22:21:16 +00:00
javi%netscape.com a378162e34 Update SSMVersionString value. 2000-06-22 21:05:42 +00:00
cotter%netscape.com 06d0d70117 Minor correction to View Certificate Details section. 2000-06-22 20:36:11 +00:00
javi%netscape.com da6f2b123d We need ssm_swap_bytes defined regardless of whether we're building on a
little endian machine.
2000-06-22 17:36:34 +00:00
javi%netscape.com f5220fbc72 Fix unicode conversion for win32 so that p12 export/import works again. 2000-06-22 01:28:03 +00:00
ddrinan%netscape.com 75325b223a Add new attribute id to socket status resource. Bug #39680 2000-06-21 23:31:28 +00:00
ddrinan%netscape.com 53dec8070f Checked in fix for bug# 39680 2000-06-21 23:26:53 +00:00
ddrinan%netscape.com 5815feec18 Some bug fixes 2000-06-21 20:52:33 +00:00
ddrinan%netscape.com f44cc6b272 Must convert unicode to/from NBO/HBO on little endian systems 2000-06-21 20:43:30 +00:00
chrisk%netscape.com f50992b697 Added some comments and asserts 2000-06-21 18:12:02 +00:00
chrisk%netscape.com 328f652db5 Oops - fixed the fix. The prototype now correctly unpacks into a
DHPublicKey structure.
2000-06-21 00:04:38 +00:00
javi%netscape.com f511923b24 Don't block forever waiting for socket status to get created. Mozilla
may call that function after the connection is gone in which case the
socket status will not exist.
2000-06-20 22:39:24 +00:00
chrisk%netscape.com e8c191d6b4 Fix OID for DC AVAs - the root OID in RFC2247 is not different from
the root OID in RFC1274 - so the one we had was WRONG.
I don't know where it came from.
2000-06-20 16:31:31 +00:00
chrisk%netscape.com 35688efc22 Add code for generation of SMIMEProfile and SMIMEKeyEncryptionPreference 2000-06-20 16:28:59 +00:00
chrisk%netscape.com b300353be7 First feeble attempt at fixing the problem that our definition of
Diffie-Hellman key parameters does not encompass all the optional
fields defined in RFC2459, section 7.3.2 (namely j and validationParams).

I added comments reminding us of the fact that PQGParams need to be
extended to hold these, and fixed the ASN1 prototype from its previous
totally broken status to one that decodes prime, subPrime and base
correctly, and skips the rest.

This avoids failure in public key extraction (which is part of verification)
with DH certs.
2000-06-20 16:22:36 +00:00
chrisk%netscape.com 194bf2a6a6 Fix problem where DH certs were always rejected when verifying them
for EMail encryption.
A Diffie-Hellman key needs to be tested for KU_KEY_AGREEMENT, not
KU_KEY_ENCIPHERMENT.
2000-06-20 16:15:32 +00:00
chrisk%netscape.com 806e9406e7 Fixed bug in sequence printing code: array counter was overshooting by one 2000-06-20 14:35:17 +00:00
chrisk%netscape.com 2e712568df Fix bug in decoder:
When encoding indefinitely & encountering an optional field at the end of
a sequence, right after an IMPLICIT or POINTER template, the decoder
was not propagating the optionalness and the end-of-contents condition
correctly as it hits the end-of-contents octets instead of the optional
field. This is because IMPLICIT and POINTER push TWO states to look
for the next tag, not just one.
(The first state is "afterImplicit" or "afterPointer", the second one
starts with "beforeIdentifier" as usual).
This finally makes decoding envelopedData messages in cmsutil work.
2000-06-20 13:24:01 +00:00
ddrinan%netscape.com 3a64f21d6c We need libnlslocale for unix 2000-06-20 02:43:46 +00:00
cotter%netscape.com 9051e28752 Added first draft of PSM 1.2 release notes. 2000-06-19 23:58:25 +00:00
javi%netscape.com f7f811d370 Whomping SECURITY_CLIENT_BRANCH onto tip. 2000-06-19 23:05:49 +00:00
javi%netscape.com a0ec7baa4f Whomping SECURITY_CLIENT_BRANCH onto tip. 2000-06-19 22:58:15 +00:00
thayes%netscape.com 11c75dd062 Fix double free of item value that is in an arena. 2000-06-16 23:26:16 +00:00
javi%netscape.com 2fa9722764 Watch out for the case where the user hits Cancel. Don't wanna dead-lock
waiting for a message that will never show up.
2000-06-16 23:22:39 +00:00
javi%netscape.com 59605d8a47 Work around for Mozilla. If we're told to wait for a resource to shut down
that isn't a keygen context, sleep for a second so that the user actually
sees the dialog instead of a window that mysteriously appears and disappears
without ever showing them anything.
2000-06-16 22:45:48 +00:00
ddrinan%netscape.com bc28bbd422 Include nslocale component 2000-06-16 22:40:13 +00:00
beard%netscape.com 7b82801c98 bug 19119: export file for PSM[Debug].shlb. 2000-06-16 22:25:43 +00:00
beard%netscape.com 58ea955792 bug 19119, changes for XP_MAC to allow client to synchronize with server thread. a=ddrinan, r=gordon 2000-06-16 22:21:16 +00:00
beard%netscape.com 36839be9a4 (not part of build) added nlslayer.cpp. 2000-06-16 22:18:38 +00:00
javi%netscape.com 00cc0e768a Some tweaks to key gen context and oldfunc.c so that Mozilla can more
easily handle the KEYGEN tag.
2000-06-16 22:08:16 +00:00
javi%netscape.com 50afdb5a53 Make some API changes so that the Mozilla client can more easily handle
the KEYGEN tag.
2000-06-16 22:05:18 +00:00
beard%netscape.com c8dee33a82 bug #19119: Added call to initialize Mac toolbox. (not part of build) 2000-06-16 21:12:27 +00:00
javi%netscape.com b2a70e5622 Add some attributes to query URL's for setting the password and for
choosing which token to use when processing a KEYGEN tag.x
2000-06-16 20:48:25 +00:00
ddrinan%netscape.com 25cebd5639 Fixed build bustage for linux 2000-06-16 17:17:49 +00:00
cotter%netscape.com da5da43729 Updated OSCP help. 2000-06-16 05:45:58 +00:00
ddrinan%netscape.com dcda941f62 Fix for bug# 34384 2000-06-16 01:47:18 +00:00
mcgreer%netscape.com 0ab7f69b96 attempt to add token support for listing certs & keys 2000-06-16 00:38:44 +00:00
mcgreer%netscape.com 1f07ef2a0d more cleanup on cert listing 2000-06-16 00:36:43 +00:00
ddrinan%netscape.com 0a6214faef Use M16 version of nlslayer for unix 2000-06-15 21:34:56 +00:00
thayes%netscape.com e6446eaeed Change password prompt and retry text. 2000-06-15 21:13:35 +00:00
javi%netscape.com 0e13538650 Add help targets for cert pretty print and issuer not found when walking
the certificate chain.
2000-06-15 21:02:45 +00:00
ddrinan%netscape.com 6052fcb8b0 Use the M16 version of nlslayer 2000-06-15 20:22:12 +00:00
ddrinan%netscape.com 414a070f6e Use the intl M16 interfaces 2000-06-15 20:02:52 +00:00
chrisk%netscape.com a4d28baa44 Add generation of SMIMECapabilities 2000-06-14 23:17:52 +00:00
chrisk%netscape.com 2764e9d280 canonicalization step adds CRs to LFs only of there are no CRs present. 2000-06-14 23:15:06 +00:00
chrisk%netscape.com 1fc6c0e471 Make example 5.7 of ietf-smime-examples draft decode correctly
(we still cannot look up certs by SubjectKeyID, so it won't verify)
2000-06-14 23:12:48 +00:00
beard%netscape.com 725521334a (not part of build) added non-debug target (PSM.shlb) 2000-06-14 03:25:37 +00:00
beard%netscape.com 7f8343c796 (not part of build) added mozilla/security/nss/lib/smime to access paths, added nlslayer.cpp directly (rather than building as a separate library). 2000-06-14 03:18:10 +00:00