26 Commits

Author SHA1 Message Date
gerv%gerv.net
f465fa7d7e Bug 716563 - update license to MPL 2. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@263750 18797224-902f-48f8-a5cc-f745e15eee43
2012-04-25 14:50:19 +00:00
emaldona%redhat.com
6d247e8ddb Bug 632439 - cms headers cmst.h and cms.h use C++ reserved identifiers 'private' and 'template, r=caillon
git-svn-id: svn://10.0.0.236/trunk@261970 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-24 22:06:14 +00:00
rrelyea%redhat.com
c70c18fc8d Bug 584224 - CMS does not allow content types other than S/MIME
patch by nalin
r=rrelyea

* expose an NSSCMSGenericWrapperDataTemplate that includes the ContentInfo
* properly return plain data from NSS_CMSContentInfo_GetContent
* fix what appear to be some copy/paste errors
* get pointers to pointers to functions out of the interface, to match the rest
  of the CMS API
* correctly add new types to the type hash
* don't return CMS contents from NULL CMS messages


git-svn-id: svn://10.0.0.236/trunk@261881 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-31 23:56:30 +00:00
rrelyea%redhat.com
ca400c9e6d Bug 584224 - CMS does not allow content types other than S/MIME
Part 1
Patch: rrelyea
r emaldona


git-svn-id: svn://10.0.0.236/trunk@261862 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-28 23:03:59 +00:00
nelson%bolyard.com
25cae7d289 Bug 506041: Correct misspellings in source code comments
Patch contributed by Michael Kohler <michaelkohler@live.com>, r=nelson


git-svn-id: svn://10.0.0.236/trunk@260229 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-25 23:37:40 +00:00
wtc%google.com
c141d5b222 Bug 436430: NSS public headers should not use NSPR 1.0 compatibility types
and macros.  Replaced PRArenaPool by PLArenaPool and int64 by PRTime.  The
patch is generated by Nelson Bolyard <nelson@bolyard.com>.  r=wtc
Modified Files:
	certdb/cert.h certdb/certdb.h certdb/certt.h certhigh/ocsp.h
	cryptohi/cryptohi.h cryptohi/keyhi.h cryptohi/keythi.h
	freebl/blapit.h pk11wrap/pk11priv.h pk11wrap/pk11pub.h
	pk11wrap/secmodt.h pkcs12/p12.h pkcs12/p12t.h pkcs12/pkcs12t.h
	pkcs7/pkcs7t.h pkcs7/secpkcs7.h smime/cms.h util/nssb64.h
	util/secasn1.h util/secder.h util/secdig.h util/secitem.h
	util/secoid.h


git-svn-id: svn://10.0.0.236/trunk@252350 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-14 14:20:38 +00:00
rrelyea%redhat.com
0a3bb0e619 Bug 320583 Support for SHA256/384/512 with ECC signing
git-svn-id: svn://10.0.0.236/trunk@189396 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 06:14:31 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
wchang0222%aol.com
b8a73710e4 Bugscape bug 54021: in CERT_FindSubjectKeyIDExtension, if PORT_NewArena
fails we should return SECFailure.  Document that the return values of
CERT_GetCommonName and NSS_CMSSignerInfo_GetSignerCommonName must be freed
with PORT_Free.  r=nelsonb.
Modified Files:
	certdb/alg1485.c certdb/cert.h certdb/certv3.c smime/cms.h
	smime/cmssiginfo.c


git-svn-id: svn://10.0.0.236/trunk@149951 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-03 00:09:05 +00:00
wchang0222%aol.com
fe724137e2 Bugzilla bug 226861: removed NSS_CMSSignedData_GetDigestByAlgTag, which is
a duplicate of NSS_CMSSignedData_GetDigestValue.  r=nelsonb.
Modified Files: cms.h cmssigdata.c


git-svn-id: svn://10.0.0.236/trunk@149783 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-26 23:50:02 +00:00
jpierre%netscape.com
d972ffd695 Fix for 192590 - add ability to encode NSSCMSRecipientInfo . r=javi, wtc
git-svn-id: svn://10.0.0.236/trunk@139251 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 03:38:54 +00:00
relyea%netscape.com
56d8f097f5 bug 19590
RFE:Add ability to encode/decode NSSCMSRecipientInfo structures

r=javi,wtc


git-svn-id: svn://10.0.0.236/trunk@138739 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 23:32:29 +00:00
wtc%netscape.com
688bbc9eba Bug 183612: added support for looking up a cert by subject key ID and
creating a CMS recipient info from a subject key ID.  The patch was
contributed by Javi Delgadillo <javi@netscape.com>. r=relyea, wtc.
Modified Files:
	certdb/cert.h certdb/certdb.c certdb/certdb.h certdb/certv3.c
	certdb/stanpcertdb.c nss/nss.def nss/nssinit.c
	pk11wrap/pk11cert.c pk11wrap/pk11func.h pk11wrap/secmod.h
	pki/pki3hack.c smime/cms.h smime/cmslocal.h smime/cmspubkey.c
	smime/cmsrecinfo.c smime/cmssiginfo.c smime/cmst.h
	smime/smime.def


git-svn-id: svn://10.0.0.236/trunk@135377 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 01:39:46 +00:00
wtc%netscape.com
3cb4b59ccc Bug 177201: declare NSS_CMSEncoder_Cancel.
git-svn-id: svn://10.0.0.236/trunk@132671 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 01:31:01 +00:00
jpierre%netscape.com
7b62002613 Fix for 145785 - Need to create signer infos using Subject Key ID. r=relyea
git-svn-id: svn://10.0.0.236/trunk@130120 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 04:41:47 +00:00
kaie%netscape.com
171583bc21 b=107034 OE requires special attribute in incoming signed messages to support dual key certificates. Add new function
NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs.
r=relyea


git-svn-id: svn://10.0.0.236/trunk@128249 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 13:14:42 +00:00
kaie%netscape.com
0a8bd297cb Backing myself out, since it didn't compile on Win32, and I would like to discuss the correct fix.
git-svn-id: svn://10.0.0.236/trunk@128188 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 00:05:11 +00:00
kaie%netscape.com
8ceba8cca5 b=107034 OE requires special attribute in incoming signed messages to support dual key certificates. Add new function
NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs.
r=relyea


git-svn-id: svn://10.0.0.236/trunk@128165 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:34:31 +00:00
nelsonb%netscape.com
dbd95a18a1 Changes to deal with exporting data from Windows DLLs.
SECHashObjects[] is no longer exported.
New function HASH_GetHashObject returns pointer to selected const object.
SSL statistics are now in a structure whose address is obtained via a
call to SSL_GetStatistics().
On NT, the new symbol NSS_USE_STATIC_LIBS must be declared in programs
that use the static SSL library.
Also, propagate "const" declaration for SECHashObjects.


git-svn-id: svn://10.0.0.236/trunk@84403 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 01:38:26 +00:00
wtc%netscape.com
61e8bea620 Removed unnecessary inclusion of secder.h. (The #include "secder.h"
in cms.h was probably cut and pasted from secpkcs7.h, which was added
in rev. 1.3 of secpkcs7.h in the Netscape internal /m/src cvs repository
in 11/1996.)
Modified files: secpkcs7.h, cms.h


git-svn-id: svn://10.0.0.236/trunk@84362 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 06:02:43 +00:00
wtc%netscape.com
e57a4cba46 Bugzilla bug #64238: removed the unnecessary inclusion of mcom_db.h from
cryptohi.h, pk11func.h, secpkcs7.h, and cms.h.  Some files now need to
include <errno.h>.  They were including <errno.h> indirectly through
mcom_db.h.
Modified Files:
	cmd/atob/atob.c cmd/btoa/btoa.c cmd/derdump/derdump.c
	lib/cryptohi/cryptohi.h lib/pk11wrap/pk11func.h
	lib/pkcs7/secpkcs7.h lib/smime/cms.h lib/ssl/sslsnce.c


git-svn-id: svn://10.0.0.236/trunk@84341 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:44:30 +00:00
mcgreer%netscape.com
363ed3f1b7 add a shortcut encoder routine.
git-svn-id: svn://10.0.0.236/trunk@80153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 16:38:11 +00:00
mcgreer%netscape.com
269deba25a Added function NSS_CMSSignedData_VerifyCertsOnly to API
git-svn-id: svn://10.0.0.236/trunk@79292 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:38:33 +00:00
chrisk%netscape.com
0cffe12987 Add code for generation of SMIMEProfile and SMIMEKeyEncryptionPreference
git-svn-id: svn://10.0.0.236/trunk@72663 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 16:28:59 +00:00
chrisk%netscape.com
d8f1264a7c Add generation of SMIMECapabilities
git-svn-id: svn://10.0.0.236/trunk@72242 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:17:52 +00:00
chrisk%netscape.com
c97a690adc Merge smimetk_branch to tip...
git-svn-id: svn://10.0.0.236/trunk@72136 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 21:56:37 +00:00