300 Commits

Author SHA1 Message Date
glen.beasley%sun.com
3d00dcb828 282732 read/write/accept/close thread protection
git-svn-id: svn://10.0.0.236/trunk@171676 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 20:41:46 +00:00
christophe.ravel.bugs%sun.com
93b3579030 283383 Create JSS and JSSE client/server test programs that intercommunicates to validate ciphers
Java path and options are passed from all.pl to startJssServ.sh and
startJsseServ.sh.


git-svn-id: svn://10.0.0.236/trunk@171576 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 18:07:00 +00:00
christophe.ravel.bugs%sun.com
e31b0f98c0 283383: Create JSS and JSSE client/server test programs that intercommunicates to validate ciphers.
Fix issue with testing optimized version
Wrong jar file was taken for test with BUILD_OPT=1


git-svn-id: svn://10.0.0.236/trunk@171518 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 00:24:58 +00:00
sandeep.konchady%sun.com
a911a575a4 Adding 7 java files, 2 shell scripts and modified all.pl for
bug id : 283383.

Java files added are JSS and JSSE server and clients. The purpose
of which is to intercommunicate between JSS and JSSE to validate
supported ciphers between the two.  startJss*.sh are scripts for
starting JSS and JSSE servers. These tests are added to all.pl
to run as a part of overall JSS test suite.

Currently these tests do not report errors when a cipher that is
suppose to work between JSS and JSSE fails.  I will file another
feature enhancement request to address this.


git-svn-id: svn://10.0.0.236/trunk@171411 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 22:19:56 +00:00
saul.edwards%sun.com
b93d21192e Bug 225635 : GenerateCertRequest leaks arena
git-svn-id: svn://10.0.0.236/trunk@171219 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 21:12:05 +00:00
gerv%gerv.net
a2d903c9f2 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@168726 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 22:28:27 +00:00
glen.beasley%sun.com
e94bbc251b Rename HCL to NSS 171027
git-svn-id: svn://10.0.0.236/trunk@168459 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-28 19:16:12 +00:00
christophe.ravel.bugs%sun.com
a84ae0faec JSS tip: Version = 4.1 beta
git-svn-id: svn://10.0.0.236/trunk@166422 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 23:46:40 +00:00
christophe.ravel.bugs%sun.com
8d8429496c Move to version 4.0.1 Beta.
git-svn-id: svn://10.0.0.236/trunk@165995 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 01:19:58 +00:00
wchang0222%aol.com
3babd3113b Bugzilla bug 270686: in getStatusString(), we should test statusString for
null before invoking the toString() method on it.  The patch is contributed
by Christine Ho of AOL. r=wtc,glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@165487 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-18 22:56:11 +00:00
wchang0222%aol.com
35150c2f9d Bugscape bug 57238: implemented CMCCertId, OtherMsg, and TaggedContentInfo
for CMC.  The patch is contributed by Christine Ho of AOL. r=wtc.
Added Files: CMCCertId.java OtherMsg.java TaggedContentInfo.java


git-svn-id: svn://10.0.0.236/trunk@165152 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 06:01:15 +00:00
glen.beasley%sun.com
eeadbd08ed 220223 TokenException caused by left over cert8.db
git-svn-id: svn://10.0.0.236/trunk@164165 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 00:00:51 +00:00
wchang0222%aol.com
59841f8844 Bugzilla bug 264257: added GetCert and LRA Pop witness controls to CMC.
The code is contributed by Christine Ho of AOL.  r=wtc.
Added Files: GetCert.java LraPopWitness.java


git-svn-id: svn://10.0.0.236/trunk@163694 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 23:35:39 +00:00
glen.beasley%sun.com
c27511bd06 181540 support SHA-256, SHA-384, SHA-512
git-svn-id: svn://10.0.0.236/trunk@163632 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 23:24:40 +00:00
saul.edwards%sun.com
228d5e37ad 208193: Add enableTLS, enableTLSDefault APIs.
git-svn-id: svn://10.0.0.236/trunk@163087 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-01 16:42:24 +00:00
christophe.ravel.bugs%sun.com
afc01f7dc4 NSS 3.9.3 / JSS 4.0 release candidate.
Change NSS Beta flag to false
Change JSS Beta flag to false

Code freeze.


git-svn-id: svn://10.0.0.236/trunk@162677 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-22 21:56:37 +00:00
glen.beasley%sun.com
665255ef03 258666 JDK 1.5 made enum a keyword
git-svn-id: svn://10.0.0.236/trunk@162609 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 18:16:14 +00:00
saul.edwards%sun.com
b45740317a 258699: Add finalize method to CipherContentProxy class.
git-svn-id: svn://10.0.0.236/trunk@162551 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 17:11:55 +00:00
glen.beasley%sun.com
0204389ece 224566 JVM crashes due to socketAccept timeout
git-svn-id: svn://10.0.0.236/trunk@162027 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 22:53:31 +00:00
glen.beasley%sun.com
abbc26f328 244865 MEM Leak in callbacks.c using SSL_RevealURL
git-svn-id: svn://10.0.0.236/trunk@161720 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 18:32:03 +00:00
glen.beasley%sun.com
5159850281 244881 Mem leak in SSLSocket getStatus
git-svn-id: svn://10.0.0.236/trunk@161704 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 17:15:12 +00:00
glen.beasley%sun.com
36cf5705d2 BugId 251635 jss4.jar needs to load libjss4
git-svn-id: svn://10.0.0.236/trunk@161260 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 18:05:04 +00:00
glen.beasley%sun.com
92fecdf979 251635 upgrading to JSS to 4.0
git-svn-id: svn://10.0.0.236/trunk@159549 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 20:39:25 +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
74a0d9ae4d Set JSS version to 3.5.
Modified Files:
	org/mozilla/jss/CryptoManager.java
	org/mozilla/jss/util/jssver.h pkg/solaris/Makefile.com


git-svn-id: svn://10.0.0.236/trunk@151398 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 00:50:21 +00:00
wchang0222%aol.com
714d063904 Bugscape bug 54500: made uniqueNamedKeyExists public.
git-svn-id: svn://10.0.0.236/trunk@151033 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 18:09:15 +00:00
wchang0222%aol.com
62d9ea8977 Bugscape bug 54500: trim preceding/trailing whitespace from passed-in
String arguments.


git-svn-id: svn://10.0.0.236/trunk@150653 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 01:19:48 +00:00
wchang0222%aol.com
8bb0513233 Bugzilla bug 228907: added a stub implementation for the obsolete native
function Java_org_mozilla_jss_pkcs11_PK11Cert_getNickname, which is listed
in the symbol export file jss.def.


git-svn-id: svn://10.0.0.236/trunk@150567 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-20 15:56:11 +00:00
wchang0222%aol.com
cf51e75a62 Bugscape bug 54500: Improved the previous checkin: fixed leaks of the
return values of PK11_GetSymKeyNickname. Removed unnecessary assignment
statements "symKeyObj = NULL;".  Removed an unnecessary else { }.


git-svn-id: svn://10.0.0.236/trunk@150524 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 19:36:30 +00:00
wchang0222%aol.com
cc1f0f6a59 Bugscape bug 54500: added some new methods to the SecretDecoderRing
KeyManager class.  The patch is contributed by Matthew Harmsen of AOL.
Modified Files:
	lib/jss.def org/mozilla/jss/SecretDecoderRing/KeyManager.c
	org/mozilla/jss/SecretDecoderRing/KeyManager.java


git-svn-id: svn://10.0.0.236/trunk@150480 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 05:33:50 +00:00
wchang0222%aol.com
6d685cf91f Set JSS version to 3.5 Beta.
Modified Files:
	org/mozilla/jss/CryptoManager.java
	org/mozilla/jss/util/jssver.h


git-svn-id: svn://10.0.0.236/trunk@150478 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 05:08:34 +00:00
wchang0222%aol.com
3642c954a4 Bugzilla bug 228907: enable PK11Store.getCertificates to return the correct
nicknames for certs with multiple instances.  This requires adding a new
nickname argument to the constructors of the various cert classes and
passing a nickname better than NSS's cert->nickname where possible.
r=thomask.
Modified Files:
	pkcs11/PK11Cert.c
	pkcs11/PK11Cert.java
	pkcs11/PK11InternalCert.java
	pkcs11/PK11InternalTokenCert.java
	pkcs11/PK11Store.c
	pkcs11/PK11TokenCert.java
	pkcs11/pk11util.h
	util/java_ids.h


git-svn-id: svn://10.0.0.236/trunk@150456 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 00:19:57 +00:00
wchang0222%aol.com
fd912aa996 Bugzilla bug 225619: fixed memory leaks.
git-svn-id: svn://10.0.0.236/trunk@149279 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 01:42:51 +00:00
wchang0222%aol.com
1f3c87a56c Bugzilla bug 225626: need to allocate PORTArenaPool rather than PLArenaPool
for the 'arena' member of CERTVerifyLog.  Fixed memory leaks on an error
path.


git-svn-id: svn://10.0.0.236/trunk@149278 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 01:41:15 +00:00
wchang0222%aol.com
9309786b99 Set JSS version to 3.4.2 Beta 2.
Modified Files: CryptoManager.java util/jssver.h


git-svn-id: svn://10.0.0.236/trunk@149277 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 01:37:04 +00:00
wchang0222%aol.com
53b6380376 Upgraded to NSS_3_7_9_RTM (from NSS_3_7_8_RTM).
Modified Files: manifest.mn org/mozilla/jss/CryptoManager.java


git-svn-id: svn://10.0.0.236/trunk@149274 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 23:39:46 +00:00
nicolson%netscape.com
396fbef1a7 Fix 225615: memory leak in SSLSocket.socketConnect.
git-svn-id: svn://10.0.0.236/trunk@149272 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 23:10:13 +00:00
wtc%netscape.com
bcc139ed01 Bugzilla bug 216117: added a TokenProxy member to the PK11Cert class to
store the slot pointer for the certificate *instance*.  This slot pointer
is not necessarily cert->slot.  Try to get the correct slot pointer for a
cert instance where possible.  This patch helps us handle multiple
instances of the same cert better.
Modified Files:
	PK11Finder.c pkcs11/PK11Cert.c pkcs11/PK11Cert.java
	pkcs11/PK11InternalCert.java pkcs11/PK11InternalTokenCert.java
	pkcs11/PK11Store.c pkcs11/PK11Token.c
	pkcs11/PK11TokenCert.java pkcs11/pk11util.h
	provider/java/security/JSSKeyStoreSpi.c ssl/SSLServerSocket.c
	ssl/callbacks.c ssl/common.c ssl/jssl.h util/java_ids.h


git-svn-id: svn://10.0.0.236/trunk@147266 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 22:20:15 +00:00
wtc%netscape.com
9b8589791f Bugzilla bug 220209: fixed a cert reference leak in
JSSL_CallCertSelectionCallback if the PK11_FindKeyByAnyCert call fails.


git-svn-id: svn://10.0.0.236/trunk@147255 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 21:07:17 +00:00
wtc%netscape.com
f88f914d2d Deleted unused code.
git-svn-id: svn://10.0.0.236/trunk@147199 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 22:56:46 +00:00
wtc%netscape.com
7bb46db06a Set JSS version to 3.4.2 Beta 1.
Modified Files: CryptoManager.java util/jssver.h


git-svn-id: svn://10.0.0.236/trunk@147194 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 20:57:15 +00:00
wtc%netscape.com
562f53ce20 Bugzilla bug 219756: fixed a CERTCertificate reference leak.
git-svn-id: svn://10.0.0.236/trunk@147080 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 00:27:30 +00:00
nicolson%netscape.com
d0c851c31d Update JSS to version 3.4.1.
git-svn-id: svn://10.0.0.236/trunk@146361 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 00:08:43 +00:00
wtc%netscape.com
59a901dba3 Bugscape bug 50033: make the KeyType class public and force it to load
during CryptoManager.initialize(), before we add JSS as a provider.  The
KeyType class was failing to load properly, because its static initializers
force the class load of KeyWrapAlgorithm, whose signature needed to be
verified, which invoked JSS's signature provider, which accessed KeyType.
Basically, installing JSS as the default signature provider before its
classes have loaded creates a possibility of circular dependencies in class
initialization.  The patch is due to Jamie Nicolson.  r=wtc.
Modified Files: CryptoManager.java pkcs11/KeyType.java


git-svn-id: svn://10.0.0.236/trunk@146030 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-15 01:00:35 +00:00
wtc%netscape.com
c910338374 Bugscape bug 49314: code cleanup. Throw InvalidKeyException directly
instead of NoSuchAlgorithmException.


git-svn-id: svn://10.0.0.236/trunk@145709 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-07 21:45:35 +00:00
glen.beasley%sun.com
3a70582427 215190 delete CA created certs
git-svn-id: svn://10.0.0.236/trunk@145683 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-07 00:34:32 +00:00
nicolson%netscape.com
eb166f8ac0 Convert public key to JSS public key.
git-svn-id: svn://10.0.0.236/trunk@145620 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 18:54:49 +00:00
glen.beasley%sun.com
9470bddcc8 remove no longer used include blapi.h
git-svn-id: svn://10.0.0.236/trunk@145172 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 23:01:08 +00:00
nicolson%netscape.com
bf9c54a723 Remove dependency on secrng.h. We don't need it.
git-svn-id: svn://10.0.0.236/trunk@144712 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 18:13:26 +00:00
nicolson%netscape.com
3425ca695c update to JSS 3.4 RTM.
git-svn-id: svn://10.0.0.236/trunk@142624 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-19 21:44:23 +00:00