139 Commits

Author SHA1 Message Date
nicolson%netscape.com
25cfdb8ee1 Fix 129389: Algorithm.c treats oidIndex as short when it should be int.
git-svn-id: svn://10.0.0.236/trunk@116018 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 01:59:58 +00:00
nicolson%netscape.com
fdae976915 Initial checkin of the keystore code. It's not complete yet, but
I want others to be able to see it and comment on it.


git-svn-id: svn://10.0.0.236/trunk@115355 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:19:33 +00:00
nicolson%netscape.com
7ab3c4014b fixes to make it work better on windows.
git-svn-id: svn://10.0.0.236/trunk@115127 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:23:12 +00:00
nicolson%netscape.com
5533d3ca90 Fix problems caused by changing package names.
git-svn-id: svn://10.0.0.236/trunk@113223 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:54:24 +00:00
nicolson%netscape.com
4ff972e904 move org/mozilla/jss/manage subdirectory to org/mozilla/jss
git-svn-id: svn://10.0.0.236/trunk@113222 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:51:00 +00:00
nicolson%netscape.com
43d64c6ff9 move /manage subdirectory up one level to coincide with org.mozilla.jss
package name


git-svn-id: svn://10.0.0.236/trunk@113221 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:50:18 +00:00
nicolson%netscape.com
8f9e2369e4 move this stuff up one directory to coincide with the org.mozilla.jss
package name.


git-svn-id: svn://10.0.0.236/trunk@113220 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:49:00 +00:00
nicolson%netscape.com
a321a332a4 update all classes to be in org.mozilla.jss.tests.package.
Improve TestKeyGen test.


git-svn-id: svn://10.0.0.236/trunk@113219 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:47:41 +00:00
nicolson%netscape.com
0075d37a74 added KeyPairGenerator.
git-svn-id: svn://10.0.0.236/trunk@113218 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:39:09 +00:00
nicolson%netscape.com
0e99cc2162 Change default token from InternalCryptoToken to InternalKeyStorageToken.
git-svn-id: svn://10.0.0.236/trunk@113217 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:38:53 +00:00
nicolson%netscape.com
dde4c9b7e7 always do a private_export.
git-svn-id: svn://10.0.0.236/trunk@113216 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:00:31 +00:00
nicolson%netscape.com
a5a292e64e Fix 122437: Memory leak in read method of SSLSocket
git-svn-id: svn://10.0.0.236/trunk@113214 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 19:52:02 +00:00
nicolson%netscape.com
6bdaad4ee0 add -sourcepath flag.
git-svn-id: svn://10.0.0.236/trunk@113088 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 02:31:01 +00:00
nicolson%netscape.com
850ede87f4 fix to test either dist or release builds.
git-svn-id: svn://10.0.0.236/trunk@113070 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 00:14:45 +00:00
nicolson%netscape.com
01c72457d0 move into org.mozilla.jss.tests package.
git-svn-id: svn://10.0.0.236/trunk@113065 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:49:38 +00:00
nicolson%netscape.com
8fd7000045 make release_classes target work.
git-svn-id: svn://10.0.0.236/trunk@113057 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:08:16 +00:00
nicolson%netscape.com
6cab6166f9 use NSS 3.4.
git-svn-id: svn://10.0.0.236/trunk@112705 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 18:21:57 +00:00
nicolson%netscape.com
b2adda4233 New build script for Java classes.
git-svn-id: svn://10.0.0.236/trunk@112635 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:57:12 +00:00
nicolson%netscape.com
c34340b099 Switch the default on removeSunProvider. The default is now "false".
git-svn-id: svn://10.0.0.236/trunk@112607 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:24:01 +00:00
nicolson%netscape.com
2d322d5edb Document the necessity of setting the password on the key database before
using the SecretDecoderRing.


git-svn-id: svn://10.0.0.236/trunk@112600 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:16:12 +00:00
nicolson%netscape.com
b87005ddaf add secret decoder ring for JSS 3.1.2, special release for CMS.
git-svn-id: svn://10.0.0.236/trunk@112405 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 22:54:05 +00:00
nicolson%netscape.com
9a1db829fc landing DJN_MEKAB_WORK_BRANCH
git-svn-id: svn://10.0.0.236/trunk@111587 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 20:11:11 +00:00
nicolson%netscape.com
c819a25314 test SecretDecoderRing
git-svn-id: svn://10.0.0.236/trunk@111585 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 20:00:55 +00:00
nicolson%netscape.com
c7f65fb0ea new provider classes
git-svn-id: svn://10.0.0.236/trunk@111584 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 19:58:48 +00:00
nicolson%netscape.com
3c1b765e99 SecretDecoderRing functionality, now appearing in JSS.
git-svn-id: svn://10.0.0.236/trunk@111578 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 19:38:47 +00:00
nicolson%netscape.com
91670b6b7b PK12Token was never used.
git-svn-id: svn://10.0.0.236/trunk@110957 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 03:35:32 +00:00
nicolson%netscape.com
44e45b67a6 Implement KeyPairGeneratorSpi
git-svn-id: svn://10.0.0.236/trunk@110606 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 03:54:41 +00:00
nicolson%netscape.com
6018be7c2f We need a TokenException that extends RuntimeException, so we can throw it without declaring it
git-svn-id: svn://10.0.0.236/trunk@110604 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 03:52:13 +00:00
nicolson%netscape.com
fcdd8f4e92 Add new provider classes for JCA Compliance.
git-svn-id: svn://10.0.0.236/trunk@110466 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 20:01:33 +00:00
nicolson%netscape.com
84b8d52a1a Implement RSAPrivateKey and DSAPrivateKey.
git-svn-id: svn://10.0.0.236/trunk@110465 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 20:00:36 +00:00
nicolson%netscape.com
ce49953863 Move the master provider class here to avoid circular dependencies.
git-svn-id: svn://10.0.0.236/trunk@110464 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 20:00:01 +00:00
nicolson%netscape.com
2e6648b1e7 get test scripts working, add license.
git-svn-id: svn://10.0.0.236/trunk@107079 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 06:41:44 +00:00
nicolson%netscape.com
16c77d7089 Add a test target and some classes and scripts.
Now we can test with "gmake test".


git-svn-id: svn://10.0.0.236/trunk@107077 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 06:33:21 +00:00
nicolson%netscape.com
35b7fde379 Fix 101609: JSS OSF fails, on the trunk this time.
git-svn-id: svn://10.0.0.236/trunk@106705 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 21:07:51 +00:00
nicolson%netscape.com
7c9beb39ed Fix 103976: libjss is built with -taso flag
git-svn-id: svn://10.0.0.236/trunk@104991 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:34:53 +00:00
nicolson%netscape.com
1f361d9bec Fix 103977: JSS calls non-portable snprintf
Replace snprintf() with PR_snprintf().


git-svn-id: svn://10.0.0.236/trunk@104988 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:31:40 +00:00
nicolson%netscape.com
ac54e182e9 use NSS 3.3.1 RTM.
git-svn-id: svn://10.0.0.236/trunk@104679 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:04:36 +00:00
nicolson%netscape.com
d35f88ada0 Add reuseAddr parameter to SSLServerSocket parameter, so servers can
re-bind to a socket.


git-svn-id: svn://10.0.0.236/trunk@104139 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:10:11 +00:00
nicolson%netscape.com
12b2f2c4ce fix SSL_RSA_FIPS_* cipher enums.
git-svn-id: svn://10.0.0.236/trunk@103956 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 17:51:30 +00:00
nicolson%netscape.com
34f07e2fe4 Fix 96779: UserCertConflictException always gets thrown when importing user cert.
git-svn-id: svn://10.0.0.236/trunk@103727 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 21:39:21 +00:00
nicolson%netscape.com
8ec2466035 Emphasize that we ignore the SecureRandom parameter.
git-svn-id: svn://10.0.0.236/trunk@103628 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 18:34:18 +00:00
nicolson%netscape.com
7466c08078 Fix 100796: calling undeclared functions breaks AIX build
Workaround 100791: misspelled function prototypes in pk11func.h


git-svn-id: svn://10.0.0.236/trunk@103333 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 19:16:51 +00:00
nicolson%netscape.com
93fa7382af Fix 99375: UnsatisfiedLinkError gives misleading description
git-svn-id: svn://10.0.0.236/trunk@102815 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 18:55:03 +00:00
nicolson%netscape.com
158dec054e More work on running an SSLSocket over a generic Socket. This is required
for JSSE compliance.


git-svn-id: svn://10.0.0.236/trunk@102574 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 01:53:38 +00:00
nicolson%netscape.com
ecb048a49e copyright notice.
git-svn-id: svn://10.0.0.236/trunk@102111 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 22:35:58 +00:00
nicolson%netscape.com
6b60ee7fd7 add getEncryptedPrivateKeyInfo.
git-svn-id: svn://10.0.0.236/trunk@101744 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 05:23:15 +00:00
nicolson%netscape.com
543f77a6c1 add NSPR wrapper around java socket.
git-svn-id: svn://10.0.0.236/trunk@101743 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 05:16:27 +00:00
nicolson%netscape.com
0996f8151f add types and ids for NSPR wrapper around java socket.
git-svn-id: svn://10.0.0.236/trunk@101742 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 05:15:18 +00:00
nicolson%netscape.com
4b77628768 Add getEncryptedPrivateKeyInfo.
git-svn-id: svn://10.0.0.236/trunk@101741 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 05:14:55 +00:00
nicolson%netscape.com
32327a46a2 add getEncryptedPrivateKeyInfo to CryptoStore.
git-svn-id: svn://10.0.0.236/trunk@101740 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 05:14:30 +00:00