466 Commits

Author SHA1 Message Date
wtchang%redhat.com
486510d355 Import NSPR 4.6.2 and NSS 3.11.1.
git-svn-id: svn://10.0.0.236/trunk@198857 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 05:20:37 +00:00
glen.beasley%sun.com
a8c12457b7 335619 Template Fix for optional elements by rocky-s r=nkwan
git-svn-id: svn://10.0.0.236/trunk@198303 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 03:18:17 +00:00
glen.beasley%sun.com
9f9e1412b5 338484 Run SSL tests in FIPS mode
git-svn-id: svn://10.0.0.236/trunk@198302 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 03:09:42 +00:00
christophe.ravel.bugs%sun.com
2a1be2dab6 Bugzilla 315445: Temp directory for AMD and Intel are the same, hence over writing each others files causing the tests to fail.
r+=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@196558 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 18:38:48 +00:00
christophe.ravel.bugs%sun.com
3d1588ca5b Change JSS version to 4.2.4 Beta.
git-svn-id: svn://10.0.0.236/trunk@196354 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 22:58:33 +00:00
glen.beasley%sun.com
ea1bc48ab2 JSS version 4.2.3 RTM
git-svn-id: svn://10.0.0.236/trunk@195607 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 23:18:44 +00:00
wtchang%redhat.com
db87af390e Bugzilla Bug 335275: include pk11pqg.h to declare the PK11_PQG_ functions.
The PK11_PQG_ functions operate on PQGParams, so we declare pqgParams as
a pointer to PQGParams, and cast a SECKEYParams pointer to a PQGParams
pointer. (SECKEYParams and PQGParams are isomorphic.)  r=nelson.


git-svn-id: svn://10.0.0.236/trunk@195317 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 01:26:42 +00:00
sandeep.konchady%sun.com
f152671ebe Bugzilla bug : 316448. Deprecated references to fortezza in code and test.
sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@193814 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 15:56:50 +00:00
nkwan%redhat.com
849895127c Updated tip to use NSS_3_11_RTM
git-svn-id: svn://10.0.0.236/trunk@193579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 02:06:31 +00:00
nkwan%redhat.com
75a4bcdd89 bugzilla #332608 - added new function to just delete certificate
git-svn-id: svn://10.0.0.236/trunk@193457 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 23:09:49 +00:00
gerv%gerv.net
6563c50ab1 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@193297 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 04:41:00 +00:00
nkwan%redhat.com
0739c799ea bugzilla #331369 - avoid calling fromRaw which calls into a non-ECC compliant NSS function
git-svn-id: svn://10.0.0.236/trunk@192809 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 21:53:52 +00:00
wtchang%redhat.com
961f0de42e Bugzilla Bug 322871: moved the three new EC-related JNI function symbols to
a new JSS_4.2.3 section. r=sandeep.konchady.


git-svn-id: svn://10.0.0.236/trunk@191221 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 23:56:41 +00:00
nkwan%redhat.com
36590fe2e3 integrated patch 'build fix' from bugzilla #328246
git-svn-id: svn://10.0.0.236/trunk@191178 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 19:40:34 +00:00
sandeep.konchady%sun.com
ebb4d1bcf6 Bugzilla bug: 328233 Fix for using SunJCE for all platformas that do not
use IBM JDK. sr=Alexei.Volkov


git-svn-id: svn://10.0.0.236/trunk@191034 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 16:47:17 +00:00
wtchang%redhat.com
2c8323ecaf Bugzilla Bug 322871: Checked in Bob Relyea's patch again.
Add multi-hash ECC to jss (based on the 1.4 JCE).


git-svn-id: svn://10.0.0.236/trunk@190949 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 01:21:52 +00:00
sandeep.konchady%sun.com
39fe796f2f Bugzilla bug: 310368 Missed a file.
sr=Glen r=Alexei


git-svn-id: svn://10.0.0.236/trunk@190769 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 23:38:58 +00:00
sandeep.konchady%sun.com
f2e42543a9 Bugzilla bug: 326699 Added check for libjss4.$platform_lib_extension
sr=Alexei.Volkov r=Christophe.Ravel


git-svn-id: svn://10.0.0.236/trunk@190767 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 23:27:49 +00:00
sandeep.konchady%sun.com
9ab5148686 Bugzilla bug: 310368 Modified JSSE_SSLServer and JSS_SSLClient for proper
cipher preference and communication. sr=Glen.Beasley r=Alexei.Volkov


git-svn-id: svn://10.0.0.236/trunk@190766 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 23:25:25 +00:00
sandeep.konchady%sun.com
f186c9ceea Bugzilla bug: 322998 Fix for SSLServerSocket.accept() consuming exception
cause. sr=Wan-Teh r=Alexei.Volkov


git-svn-id: svn://10.0.0.236/trunk@190759 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 22:43:27 +00:00
sandeep.konchady%sun.com
7a417d0627 Bugzilla bug: 317479. Added IBMJCE for tests to work with IBM JDK.
sr=glen.beasley r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@190231 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 19:54:08 +00:00
christophe.ravel.bugs%sun.com
ee00f23695 322871: JSS needs to handle ECC keys and certs`
Back out changes by rrelyea (2006-02-10) and glen.beasley (2006-02-14).
r+: wtc


git-svn-id: svn://10.0.0.236/trunk@190036 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 23:53:05 +00:00
glen.beasley%sun.com
c56e20b8b1 temp build fix
git-svn-id: svn://10.0.0.236/trunk@189986 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 20:16:45 +00:00
rrelyea%redhat.com
104398f313 Add multi-hash ECC to jss (based on the 1.4 JCE).
git-svn-id: svn://10.0.0.236/trunk@189590 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:06:22 +00:00
sandeep.konchady%sun.com
0f613a5585 Bugzilla bug: 324451. Changed JSS version to 4.2.3. sr=glen, r=alexei
git-svn-id: svn://10.0.0.236/trunk@188707 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 23:18:57 +00:00
sandeep.konchady%sun.com
08ed8be5f3 Bugzilla bug: 316629. Increased SSLServerSocket timeout from 15 sec to
90 sec. Smaller timeout was causing the server to die before client connected.
sr=glen.beasley r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@188072 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 00:42:48 +00:00
sandeep.konchady%sun.com
024c8767d9 Bugzilla bug: 320980. Updated common.c and upgraded the JSS version.
sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@186377 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-21 18:39:24 +00:00
christophe.ravel.bugs%sun.com
7f47075302 Current version is JSS 4.2.1 Beta.
git-svn-id: svn://10.0.0.236/trunk@186074 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-14 19:53:48 +00:00
sandeep.konchady%sun.com
07d5ece206 Bugzilla bug: 318133
Added synchronized block and isClosed for getInetAddress(),
getLocalAddress(), and getLocalPort(). sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@185410 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 22:40:28 +00:00
sandeep.konchady%sun.com
b1d93cf772 Bugzilla bug:310491
Missed some System.exit(0) and reverted SigTest.java to original format.
sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@185227 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 23:40:26 +00:00
glen.beasley%sun.com
9bfcc9de4d 313798 AES and RC2 Mozilla-JSS fixes r=sandeep, sr=wan-teh
git-svn-id: svn://10.0.0.236/trunk@184958 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-19 00:20:53 +00:00
sandeep.konchady%sun.com
d6077c6bb5 Bugzilla id:314098 Modified JSS_VERSION to reflect 4.0200 for 4.2 and
4.1001 for 4.10.1 when used in the constructor. Human readable values
will still be 4.2 or 4.10.1 sr=wtc


git-svn-id: svn://10.0.0.236/trunk@184942 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 22:09:39 +00:00
christophe.ravel.bugs%sun.com
3aa2615623 238319: Sun packages changes.
RPM_RELEASE can be set from the command line.


git-svn-id: svn://10.0.0.236/trunk@184938 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 21:54:17 +00:00
glen.beasley%sun.com
55d18f7d3e 311934 socket port values are hard coded in the tests sr=sandeepK
git-svn-id: svn://10.0.0.236/trunk@184827 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-17 18:34:31 +00:00
wtchang%redhat.com
fcbbafeb9c Bugzilla bug 316594: print the value of the BUILD_OPT environment
variable. r=sandeep.konchady. sr=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@184732 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 00:01:32 +00:00
sandeep.konchady%sun.com
7d20a14abb Bugzilla bug: 310491
Added System.exit(0) and System.exit(1) where appropriate.  Also removed
references to deprecated code and deprecated the test SigTest.java. This
is now replaced by JCASigTest.java. sr=Glen.Beasley


git-svn-id: svn://10.0.0.236/trunk@184609 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 23:23:13 +00:00
wtchang%redhat.com
23829e4efa Bugzilla Bug 315496: expose the ability to create sensitive or insensitve
symmetric keys and public/private key pairs.  The patch is contributed by
Thomas Kwan of Red Hat. r=wtc. sr=glen.beasley.
Modified Files:
	org/mozilla/jss/crypto/KeyGenerator.java
	org/mozilla/jss/crypto/KeyPairGenerator.java
	org/mozilla/jss/crypto/KeyPairGeneratorSpi.java
	org/mozilla/jss/pkcs11/PK11KeyGenerator.c
	org/mozilla/jss/pkcs11/PK11KeyGenerator.java
	org/mozilla/jss/pkcs11/PK11KeyPairGenerator.c
	org/mozilla/jss/pkcs11/PK11KeyPairGenerator.java


git-svn-id: svn://10.0.0.236/trunk@184603 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:15:06 +00:00
sandeep.konchady%sun.com
2ae50693ed Bugzilla bug: 314098
Rounding of double(4) + double(1)/10 to two decimal places gives 4.21.
Fixed this issue.  sr=glen.beasley


git-svn-id: svn://10.0.0.236/trunk@184595 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:37:32 +00:00
christophe.ravel.bugs%sun.com
f7845b2049 238319: Sun packages changes
Reset rpm release to 1 for JSS 4.2


git-svn-id: svn://10.0.0.236/trunk@184256 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-07 20:19:05 +00:00
glen.beasley%sun.com
a574295133 313176 jss version 4.2 because JSS needs NSS 3.11 and up for bypass sr=sandeep
git-svn-id: svn://10.0.0.236/trunk@184161 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:16:43 +00:00
glen.beasley%sun.com
297b6ed254 311934 added PORT_JSSE_SERVER and PORT_JSSE_SERVER plus testing bypass r=sandeep
git-svn-id: svn://10.0.0.236/trunk@184118 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 23:30:38 +00:00
glen.beasley%sun.com
fd3448b934 313176 allow JSS to enable more NSS SSLOptions r=wtc, sr=nelson
git-svn-id: svn://10.0.0.236/trunk@184117 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 23:09:26 +00:00
wtchang%redhat.com
f56aeb7886 Import NSPR 4.6 and NSS 3.10.2 temporarily. We will import NSPR 4.6.1
and NSS 3.11 when they are released.


git-svn-id: svn://10.0.0.236/trunk@183352 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 19:00:12 +00:00
wtchang%redhat.com
39b267f17e Bugzilla Bug 308242: expose the opFlags and the temporary/permanent
attributes of PK11_TokenKeyGenWithFlags. r=glen.beasley.
Modified Files:
	crypto/KeyGenerator.java crypto/SymmetricKey.java
	pkcs11/PK11KeyGenerator.c pkcs11/PK11KeyGenerator.java


git-svn-id: svn://10.0.0.236/trunk@183350 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 18:38:47 +00:00
sandeep.konchady%sun.com
50e14956b3 Bugzila bug : 314098 Changed Double to Double.doubleValue() in constructing java.Security.Provider(). sr=wtc
git-svn-id: svn://10.0.0.236/trunk@183215 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 22:22:44 +00:00
sandeep.konchady%sun.com
dd1fad01e9 Bugzilla bug : 314098. Modified JSS provider version to 4.1.1 in
JSSProvider.java. Reflected this information in all places that needs
to be changed when there is a change in JSS version. r=wtc


git-svn-id: svn://10.0.0.236/trunk@183173 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 04:21:16 +00:00
wtchang%redhat.com
f6e4b33a34 Bugzilla Bug 308242: added the extractablePairs method to KeyPairGenerator
to make the new PK11_ATTR_EXTRACTABLE/PK11_ATTR_UNEXTRACTABLE flags of the
new PK11_GenerateKeyPairWithFlags function available to JSS.  r=nkwan.
sr=glen.beasley.
Modified Files:
        crypto/KeyPairGenerator.java crypto/KeyPairGeneratorSpi.java
        pkcs11/PK11KeyPairGenerator.c pkcs11/PK11KeyPairGenerator.java


git-svn-id: svn://10.0.0.236/trunk@183140 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 20:47:26 +00:00
wtchang%redhat.com
2fecfe5e53 Bugzilla bug 312774: support building and running the test with IBM JDK.
Removed the class name and provider name of the SUN provider.  Instead,
we compare our message digest result with the result of all providers that
support the message digest algorithm.  The patch is contributed by Rich
Megginson of Red Hat and improved by Glen Beasley of Sun. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@182517 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 01:17:44 +00:00
glen.beasley%sun.com
52e028d6e9 171027 removed deprecated code from tests ran by all.pl sr=sandeep
git-svn-id: svn://10.0.0.236/trunk@181664 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 17:09:03 +00:00
christophe.ravel.bugs%sun.com
361779cc16 238319: Sun packages changes.
Add an extra line to the copyright file to have the same as NSS and NSPR.


git-svn-id: svn://10.0.0.236/trunk@181257 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 01:56:59 +00:00