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

312 Коммитов

Автор SHA1 Сообщение Дата
glen.beasley%sun.com ce4348b26e typecast for AIX build 2002-07-16 23:52:45 +00:00
nicolson%netscape.com 68b4565d1e fix 157622: cleanup javadoc warnings.
Have the build system automatically copy overview-summary.html over
index.html so we get a frame-free version.
2002-07-15 22:52:58 +00:00
nicolson%netscape.com 0f9d234467 Fix 157622: cleanup javadoc warnings.
These changes should only affect documentation. There should be no
functional effect of the changes.
2002-07-15 22:48:06 +00:00
nicolson%netscape.com ed3566e59e put back the assertion check. 2002-07-12 21:12:22 +00:00
nicolson%netscape.com 94a3048596 Fix misspelled exception name. 2002-07-12 21:08:22 +00:00
nicolson%netscape.com 89ec05fa00 add default constructor 2002-07-12 21:07:40 +00:00
nicolson%netscape.com ebd1a1d22a This test isn't working yet, but I may get it working at some point. 2002-07-12 20:33:39 +00:00
nicolson%netscape.com 8d57d014f2 Fix 98613: using SSLSocket after close causes crash.
Now the SSLSocket and SSLServerSocket close() methods only call PR_Close()
on the underlying fd. Freeing data structures is postponed until the
Java object is finalized.
2002-07-12 04:26:56 +00:00
nicolson%netscape.com beda85c213 clarify error message. 2002-07-12 04:09:14 +00:00
glen.beasley%sun.com d6d3001dfe verify certificate in memory method 2002-07-04 00:36:52 +00:00
nicolson%netscape.com 3dcc1ea9ef Fix 120785: SSLSocket does not throw java.net.BindException. 2002-07-04 00:29:24 +00:00
nicolson%netscape.com 11837bbc04 need to include nspr.h. 2002-07-04 00:25:46 +00:00
glen.beasley%sun.com 1fba049990 verify cert in memory 2002-07-04 00:10:48 +00:00
nicolson%netscape.com c492307e02 Fix 121710: throw better SSL exceptions. 2002-07-04 00:03:47 +00:00
nicolson%netscape.com 50591b0122 Print subject name instead of issuer name. 2002-07-03 23:58:58 +00:00
nicolson%netscape.com 9ce34687c6 Update documentation for these functions. 2002-07-03 23:57:12 +00:00
nicolson%netscape.com ea4b451e87 deprecate old classes in favor of the JCA. 2002-07-03 23:51:20 +00:00
nicolson%netscape.com 5c3d6dfdd7 moved JSSSecureRandomSpi into provider/java/security directory. 2002-07-03 23:49:32 +00:00
nicolson%netscape.com 4604a3386c Provider classes have been moved into the java/security and javax/crypto
subdirectories.
2002-07-03 23:48:53 +00:00
nicolson%netscape.com 431701e468 Fix 106846: Version strings in CryptoManager need updating. 2002-07-03 23:46:02 +00:00
nicolson%netscape.com a00af9cae3 typo in error message 2002-06-28 20:14:47 +00:00
nicolson%netscape.com 0952ef1652 remove spurious println. 2002-06-27 21:16:42 +00:00
nicolson%netscape.com 2398114330 Fix 128259: Cannot get SSL trust for a CA residing on PKCS#11 module. 2002-06-21 23:53:58 +00:00
nicolson%netscape.com cc9a198e79 fix a build error in JDK 1.2. 2002-06-21 18:31:36 +00:00
nicolson%netscape.com f6d9041eac catch a null pointer and throw it back to Java, instead of crashing in C. 2002-06-19 22:59:08 +00:00
nicolson%netscape.com 19ed977293 upgrade to NSS 3.4.2. 2002-06-19 22:58:40 +00:00
nicolson%netscape.com 80da6ed3a6 add SSLClientAuth test.
remove obsolete socketTest.
Get passwords from a file so we can run in batch mode.
2002-06-19 22:50:47 +00:00
nicolson%netscape.com 64de9139f6 Fix 112227: set SSL server without nickname
Specify the certificate to use for both server and client auth directly,
rather than by nickname.
2002-06-19 20:33:28 +00:00
nicolson%netscape.com 0700feee32 add new tests. 2002-06-14 18:15:45 +00:00
nicolson%netscape.com 6d11aafe59 remove broken code until bug is fixed. 2002-06-14 18:15:21 +00:00
nicolson%netscape.com ba0e5da12c remove bogus comment. 2002-06-14 18:13:27 +00:00
nicolson%netscape.com ee3a5ab4b0 add javadoc target. 2002-06-12 22:54:16 +00:00
nicolson%netscape.com 73767e2c4b remove these files--there's no C code in this directory. 2002-06-12 20:18:10 +00:00
nicolson%netscape.com 162f234bdc Grab NSS headers from directory "nss" instead of directory "security". 2002-06-12 20:11:22 +00:00
nicolson%netscape.com 6432d07503 remove makefiles for this directory, since it's only Java files. 2002-06-12 20:08:39 +00:00
glen.beasley%sun.com 7482bb0552 for release eng to build multiple platforms 2002-05-30 00:47:18 +00:00
nicolson%netscape.com 53a1a1529c Fix bug 112330: CryptoToken.changePassword(new ConsolePasswordCallback(), new ConsolePasswordCallback()) throws Native Exception.
We were zeroing the password after freeing it, which in some cases caused
memory corruption and crashing.
2002-05-29 21:54:14 +00:00
nicolson%netscape.com 28a16a764c Fix 146515: PK11PrivKey.fromPrivateKeyInfo enables no operations for RSA keys 2002-05-23 20:32:10 +00:00
nicolson%netscape.com 96232e756b move new entry to end of file 2002-05-23 18:45:23 +00:00
nicolson%netscape.com d503b902ae cleanup tabs and spaces. 2002-05-23 18:45:00 +00:00
nicolson%netscape.com d1bbd143bc Various minor tweaks for code cleanliness. 2002-05-23 18:29:07 +00:00
glen.beasley%sun.com e56800b6f2 bug 144913 isCertValid addition 2002-05-23 17:52:23 +00:00
nicolson%netscape.com 121ad6444e Fix http://bugzilla.mozilla.org/show_bug.cgi?id=144934: generating DSA public key from spec is broken. 2002-05-22 02:13:31 +00:00
nicolson%netscape.com f039df6a9e Support DSAPrivateKey. 2002-05-14 02:21:25 +00:00
nicolson%netscape.com 7999d93103 comment out JDK 1.4 test so we can build with earlier versions 2002-05-10 00:13:19 +00:00
nicolson%netscape.com 331e8205e9 Don't run javac if there are no source files to compille 2002-05-10 00:12:44 +00:00
nicolson%netscape.com 12f3461e9e add SocketBase.getLocalAddressNative. 2002-05-09 17:11:18 +00:00
nicolson%netscape.com ab7641b564 Fix 143256: SSLServerSocket.getInetAddress returns the wrong address.
Implement toString() for both socket types.
2002-05-09 17:10:06 +00:00
nicolson%netscape.com 2dfdffa408 add more PBE keygen algorithms. 2002-05-09 14:32:54 +00:00
nicolson%netscape.com 437d6f5877 update to work better with PBE. 2002-05-09 14:32:33 +00:00
nicolson%netscape.com a9385c1fcf get rid of PBEKeySpec, just use PBEKeyGenParams. 2002-05-09 14:29:07 +00:00
glen.beasley%sun.com dc0c0fe061 115778 return local port 2002-05-09 02:26:25 +00:00
nicolson%netscape.com e748daaffb change assert to _assert. 2002-05-07 20:45:09 +00:00
nicolson%netscape.com 2d7b8c3eb6 add some checks to prevent misunderstandings 2002-05-07 20:44:48 +00:00
nicolson%netscape.com c27c856e10 update version numbers. 2002-05-07 20:34:54 +00:00
nicolson%netscape.com 64a0c099f1 make it public so that it can be instantiated from CryptoManager. 2002-05-07 20:34:05 +00:00
nicolson%netscape.com 37a7505a46 implement some methods in support of java.security.Key. 2002-05-07 20:33:23 +00:00
nicolson%netscape.com 05f9c20222 fix broken error message. 2002-05-07 20:32:29 +00:00
nicolson%netscape.com be3896ad3a Now SymmetricKey knows what KeyGenAlgorithm its associated with. 2002-05-07 20:31:52 +00:00
nicolson%netscape.com dac41b14e0 force load of SHA1 provider before installing it as a provider. 2002-05-07 20:31:14 +00:00
nicolson%netscape.com 91a46ed3ce add JCE providers. 2002-05-07 20:30:38 +00:00
nicolson%netscape.com d7d08bbf7d update version strings. 2002-05-07 20:24:03 +00:00
nicolson%netscape.com 1f951f8584 Renamed to JSS*. 2002-05-06 21:54:38 +00:00
nicolson%netscape.com 8e32f7cd47 Sun's PBE Key Spec is incomplete. 2002-05-06 18:58:39 +00:00
nicolson%netscape.com d6c440b810 add DESede. 2002-05-06 18:49:52 +00:00
nicolson%netscape.com b8b8caf60f move alg-specific provider classes into generic parent classes. 2002-05-03 00:27:03 +00:00
nicolson%netscape.com 6e304edf30 upgrade to NSS 3.4.1 RTM and NSPR 4.2. 2002-05-02 23:02:49 +00:00
nicolson%netscape.com c99cea2025 New provider files for JSS 3.2. 2002-05-02 20:25:15 +00:00
glen.beasley%sun.com d161d0be5e bug 129394 change assert to _assert 2002-05-02 04:04:23 +00:00
nicolson%netscape.com 201d8a50bc JSS 3.2 features check-in. 2002-04-19 22:42:05 +00:00
nicolson%netscape.com ed07493981 update NSS version. 2002-04-18 14:33:16 +00:00
nicolson%netscape.com d1444c5dd2 login to token before importing private key. 2002-04-09 19:23:49 +00:00
nicolson%netscape.com fa4720c8f3 merge JDK 1.4 changes to the trunk. 2002-04-08 21:46:56 +00:00
nicolson%netscape.com 498f77b3f2 Fix 129389: Algorithm.c treats oidIndex as short when it should be int. 2002-03-07 01:59:58 +00:00
nicolson%netscape.com b244f68486 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.
2002-02-26 04:19:33 +00:00
nicolson%netscape.com 1da30b2803 fixes to make it work better on windows. 2002-02-21 01:23:12 +00:00
nicolson%netscape.com 85797db222 Fix problems caused by changing package names. 2002-01-30 20:54:24 +00:00
nicolson%netscape.com 38f3e7666f move org/mozilla/jss/manage subdirectory to org/mozilla/jss 2002-01-30 20:51:00 +00:00
nicolson%netscape.com 1bbfdea181 move /manage subdirectory up one level to coincide with org.mozilla.jss
package name
2002-01-30 20:50:18 +00:00
nicolson%netscape.com 8e9f82d8e4 move this stuff up one directory to coincide with the org.mozilla.jss
package name.
2002-01-30 20:49:00 +00:00
nicolson%netscape.com 4fb23434af update all classes to be in org.mozilla.jss.tests.package.
Improve TestKeyGen test.
2002-01-30 20:47:41 +00:00
nicolson%netscape.com 5243b5b9f0 added KeyPairGenerator. 2002-01-30 20:39:09 +00:00
nicolson%netscape.com b9dd6ca379 Change default token from InternalCryptoToken to InternalKeyStorageToken. 2002-01-30 20:38:53 +00:00
nicolson%netscape.com 47268c6466 always do a private_export. 2002-01-30 20:00:31 +00:00
nicolson%netscape.com fa25f3e4e9 Fix 122437: Memory leak in read method of SSLSocket 2002-01-30 19:52:02 +00:00
nicolson%netscape.com 4fa2bf8011 add -sourcepath flag. 2002-01-29 02:31:01 +00:00
nicolson%netscape.com 8f0fec627d fix to test either dist or release builds. 2002-01-29 00:14:45 +00:00
nicolson%netscape.com dda48ddfee move into org.mozilla.jss.tests package. 2002-01-28 23:49:38 +00:00
nicolson%netscape.com 164481ba26 make release_classes target work. 2002-01-28 23:08:16 +00:00
nicolson%netscape.com ab5b98bf82 use NSS 3.4. 2002-01-24 18:21:57 +00:00
nicolson%netscape.com e6b935f729 New build script for Java classes. 2002-01-24 02:57:12 +00:00
nicolson%netscape.com ad83132edd Switch the default on removeSunProvider. The default is now "false". 2002-01-24 01:24:01 +00:00
nicolson%netscape.com 0ec0384725 Document the necessity of setting the password on the key database before
using the SecretDecoderRing.
2002-01-24 01:16:12 +00:00
nicolson%netscape.com b5ca6bf07e add secret decoder ring for JSS 3.1.2, special release for CMS. 2002-01-17 22:54:00 +00:00
nicolson%netscape.com 23ac37e18e landing DJN_MEKAB_WORK_BRANCH 2002-01-08 20:11:11 +00:00
nicolson%netscape.com c8ba2ce2b7 test SecretDecoderRing 2002-01-08 20:00:55 +00:00
nicolson%netscape.com 5f8cf9eda1 new provider classes 2002-01-08 19:58:48 +00:00
nicolson%netscape.com 4798d2f73e SecretDecoderRing functionality, now appearing in JSS. 2002-01-08 19:38:47 +00:00
nicolson%netscape.com 1ddde5759c PK12Token was never used. 2001-12-21 03:35:32 +00:00
nicolson%netscape.com e0d5709901 Implement KeyPairGeneratorSpi 2001-12-17 03:54:41 +00:00
nicolson%netscape.com a4117cd89e We need a TokenException that extends RuntimeException, so we can throw it without declaring it 2001-12-17 03:52:13 +00:00
nicolson%netscape.com 2158e868a9 Add new provider classes for JCA Compliance. 2001-12-14 20:01:33 +00:00
nicolson%netscape.com fc5742cee1 Implement RSAPrivateKey and DSAPrivateKey. 2001-12-14 20:00:36 +00:00
nicolson%netscape.com d556d0d859 Move the master provider class here to avoid circular dependencies. 2001-12-14 20:00:01 +00:00
nicolson%netscape.com 029ef7eb23 get test scripts working, add license. 2001-11-02 06:41:44 +00:00
nicolson%netscape.com 1deac9462b Add a test target and some classes and scripts.
Now we can test with "gmake test".
2001-11-02 06:33:21 +00:00
nicolson%netscape.com b481df4d27 Fix 101609: JSS OSF fails, on the trunk this time. 2001-10-30 21:07:51 +00:00
nicolson%netscape.com 9a704fc57d Fix 103976: libjss is built with -taso flag 2001-10-10 01:34:53 +00:00
nicolson%netscape.com 59aa27cfaf Fix 103977: JSS calls non-portable snprintf
Replace snprintf() with PR_snprintf().
2001-10-10 01:31:40 +00:00
nicolson%netscape.com 8415f0c2fb use NSS 3.3.1 RTM. 2001-10-05 22:04:36 +00:00
nicolson%netscape.com 91d2ff33b7 Add reuseAddr parameter to SSLServerSocket parameter, so servers can
re-bind to a socket.
2001-09-28 22:10:11 +00:00
nicolson%netscape.com 6b7b356bd4 fix SSL_RSA_FIPS_* cipher enums. 2001-09-27 17:51:30 +00:00
nicolson%netscape.com 1195cf2d78 Fix 96779: UserCertConflictException always gets thrown when importing user cert. 2001-09-25 21:39:21 +00:00
nicolson%netscape.com 51d2d084e0 Emphasize that we ignore the SecureRandom parameter. 2001-09-24 18:34:18 +00:00
nicolson%netscape.com 4735953c74 Fix 100796: calling undeclared functions breaks AIX build
Workaround 100791: misspelled function prototypes in pk11func.h
2001-09-20 19:16:51 +00:00
nicolson%netscape.com 4825371fbf Fix 99375: UnsatisfiedLinkError gives misleading description 2001-09-12 18:55:03 +00:00
nicolson%netscape.com 03b1637448 More work on running an SSLSocket over a generic Socket. This is required
for JSSE compliance.
2001-09-08 01:53:38 +00:00
nicolson%netscape.com 20e3a44736 copyright notice. 2001-08-31 22:35:58 +00:00
nicolson%netscape.com 82c6bb2ae6 add getEncryptedPrivateKeyInfo. 2001-08-24 05:23:15 +00:00
nicolson%netscape.com 20e8df79ca add NSPR wrapper around java socket. 2001-08-24 05:16:27 +00:00
nicolson%netscape.com 65ec9bc975 add types and ids for NSPR wrapper around java socket. 2001-08-24 05:15:18 +00:00
nicolson%netscape.com aef042db7d Add getEncryptedPrivateKeyInfo. 2001-08-24 05:14:55 +00:00
nicolson%netscape.com 67375e78fb add getEncryptedPrivateKeyInfo to CryptoStore. 2001-08-24 05:14:30 +00:00
nicolson%netscape.com 0dbf9e4396 remove superfluous trace message. 2001-08-21 01:59:22 +00:00
nicolson%netscape.com 4af8120c56 update version string to JSS 3.1, RTM. 2001-08-09 03:02:23 +00:00
nicolson%netscape.com 6c52a12869 Fix 93983: empty line in jss.def breaks HP build 2001-08-06 23:52:18 +00:00
nicolson%netscape.com 590c975f98 Fix 93382: snprintf() undefined on windows 2001-08-03 09:18:30 +00:00
nicolson%netscape.com 6c3e704123 Fix 88255: SSLSocket.forceHandshake should return more error information 2001-08-03 08:37:44 +00:00
nicolson%netscape.com a79dbc6f96 Make test conform to 3.1 API 2001-08-03 07:21:09 +00:00
nicolson%netscape.com 574acdd02c Make the javadoc target work 2001-08-03 07:17:54 +00:00
nicolson%netscape.com 44c5e868c8 Fix 93324: CryptoManager.getCACerts returns an empty array 2001-08-03 07:07:40 +00:00
nicolson%netscape.com 7c1093ceb5 Fix 93364: SSLSocket.setCipherPolicy needs to be called before using SSL 2001-08-03 07:01:52 +00:00
nicolson%netscape.com 66591c28ac Fix 93117: some SSL classes not in jss.jar 2001-08-03 06:59:41 +00:00
nicolson%netscape.com ec69513654 Upgrade to NSS 3.3 RTM. 2001-07-26 11:33:47 +00:00
tfox%netscape.com ddaa60fe68 Added build_coreconf target. 2001-07-25 23:14:16 +00:00
nicolson%netscape.com d68f8f73ff use NSS 3.3 Beta 2. 2001-07-11 18:23:04 +00:00
nicolson%netscape.com 4bdf24ad85 Remove SSLCallbackNotifier, which no longer exists 2001-07-11 04:30:48 +00:00
nicolson%netscape.com feba88dfde Fix 87807: Add library version info to the JSS shared library. 2001-07-10 01:59:44 +00:00
nicolson%netscape.com 25197a39c9 remove calls to deprecated CryptoManager.initialize(secmoddb, certdb, keydb); 2001-07-06 01:18:36 +00:00
nicolson%netscape.com 5a9845d651 Fix 88312: CryptoManager.initialize() causes nullpointerexception. 2001-07-06 01:08:08 +00:00
nicolson%netscape.com 8c999e2731 add plaintext symmetric key unwrapping JNI function. 2001-07-03 23:39:57 +00:00
nicolson%netscape.com 7265012f1b Add PLAINTEXT key unwrapping algorithm, allowing us to pull in symmetric
keys from their raw, unwrapped form.
2001-07-03 23:39:33 +00:00
nicolson%netscape.com 703234a93f Fix the secure random provider for the DSAME folks 2001-07-03 21:17:18 +00:00
nicolson%netscape.com 6372635fda Make JSS releasable with "gmake release". 2001-06-29 01:54:49 +00:00
nicolson%netscape.com 1afa200faa This is file is ancient cruft. 2001-06-28 01:50:39 +00:00
nicolson%netscape.com 8e9e689d49 Fix 88063: JSS binary release must use NSPR and NSS binary releases.
Patch written (and presumably reviewed) by wtc.
2001-06-28 01:43:12 +00:00
nicolson%netscape.com 8fdc49a6d6 Change name and description of the provider. 2001-06-26 02:19:29 +00:00
nicolson%netscape.com a1812795d7 Fix 64125: PKCS#7 code doesn't work with DSA. 2001-06-25 21:41:14 +00:00
nicolson%netscape.com d6fcac666a Fix bug 79301: SSLServerSocket constructor that takes callback args. 2001-06-25 21:32:06 +00:00
nicolson%netscape.com 01dd4c6996 Fix Bug 87650: replace slot traversal functions with list functions.
Use SECKEY_ImportDERPublicKey.
Add SecureRandom provider.
Get CERTCertificateRequestTemplate through accessor function.
2001-06-25 19:34:52 +00:00