Commit Graph

320 Commits

Author SHA1 Message Date
nicolson%netscape.com
2ed819fbe8 remove print statements. 2002-10-17 00:07:50 +00:00
nicolson%netscape.com
0dc2c94550 Forget KeyStore, it is still very broken. 2002-10-17 00:07:29 +00:00
nicolson%netscape.com
9f40fcb3c9 More little hacks, but it still doesn't work right. 2002-10-17 00:07:08 +00:00
nicolson%netscape.com
f061515562 Fix an implementation detail. 2002-10-17 00:05:53 +00:00
nicolson%netscape.com
5a6988bce7 Temporary fix for 164692: SSL ops that timeout should throw
java.net.SocketTimeoutException.
2002-10-11 03:49:34 +00:00
glen.beasley%sun.com
827c5b030a 171027 removed deprecated code 2002-10-10 04:35:56 +00:00
nicolson%netscape.com
6649c1141a upgrade to NSS 3.6 RTM and NSPR 4.2.2. 2002-10-09 18:30:38 +00:00
nicolson%netscape.com
07d11e97ed fix warning. 2002-10-07 18:00:28 +00:00
nicolson%netscape.com
cc61c535dd Fix 158727: JSSKeyStoreSpi.getCertificateChain is questionable.
Make KeyStore.getCertificateChain() work.
2002-10-05 00:19:49 +00:00
nicolson%netscape.com
a2394e4148 Fix 162904: Missing invalidityDate in RevRequest in CMMF package.
Update RevRequest to conform to RFC 2797.
Also updated the CRLReason enumeration.
2002-10-04 22:46:04 +00:00
nicolson%netscape.com
82f245ad70 Fix 160028: JSSKeyGeneratorSpi.HmacSHA1 should be renamed to PBAHmacSHA1. 2002-10-04 22:27:46 +00:00
nicolson%netscape.com
ef56ced392 Fix 160017: getAlgorithm() not implemented for PKCS #11 keys. 2002-10-04 22:13:21 +00:00
nicolson%netscape.com
d227f02eee Open up the class a little. 2002-10-04 21:18:35 +00:00
nicolson%netscape.com
f013957a9e Remove hardcoded algorithms (now that NSS bug 162761 is fixed). 2002-10-04 21:05:18 +00:00
nicolson%netscape.com
035d09e748 Deprecate this, start using javax.crypto.BadPaddingException instead. 2002-10-04 21:04:37 +00:00
nicolson%netscape.com
ad556c8a45 Fix EncryptionAlgorithm to handle lookups from JCA descriptions.
Support CipherSpi.engineGetKeySize.
Handle javax.crypto.spec.IvParameterSpec.
Handle multiple parameter classes.
2002-10-04 21:04:09 +00:00
nicolson%netscape.com
d761e8497b support storing private and symmetric keys (now that NSS bug 128172 is fixed). 2002-10-04 21:02:50 +00:00
nicolson%netscape.com
cac200a7c2 Handle AES keys. 2002-10-04 21:02:16 +00:00
nicolson%netscape.com
3fd1601e52 allow algorithms to support multiple parameter classes. 2002-10-04 21:00:58 +00:00
nicolson%netscape.com
a793f44808 Cleanup spurious printlns and exceptions. 2002-10-04 20:59:20 +00:00
nicolson%netscape.com
19c38d81ff Add SymmetricKey.getLength(). 2002-10-04 20:58:05 +00:00
nicolson%netscape.com
65af04c0b9 Fix error message when we find something unexpected in a SEQUENCE. 2002-09-27 00:07:11 +00:00
nicolson%netscape.com
72d7f9c27c override INTEGER.getTemplate() with one that returns an ENUMERATED.Template. 2002-09-26 23:25:21 +00:00
glen.beasley%sun.com
f24613dd00 163762 configureOCSPNative 2002-09-26 19:52:06 +00:00
nicolson%netscape.com
17483a5da8 Fix 160024: remove class JSSJCEProvider. 2002-09-19 01:22:52 +00:00
nicolson%netscape.com
d6b5ddebcd make SPKI.getEncoded() actually return itself, DER-encoded. This way it
correctly implements X509EncodedKeySpec.
2002-09-19 01:16:41 +00:00
nicolson%netscape.com
9691a59be5 more descriptive error message. 2002-09-19 01:15:36 +00:00
nicolson%netscape.com
4a6c72448b Fix 150720: Support KeyFactory.generatePrivate(DSAPrivateKeySpec). 2002-09-19 01:14:08 +00:00
nicolson%netscape.com
b3fdb4c8db Fix 157513: SignerInfo.java does not verify what it have signed. 2002-09-16 19:42:13 +00:00
sonja.mirtitsch%sun.com
d7ae78b606 if USE_64 is set use option -d64 to java
write to stderr like the programs do so output is in order and logfiles
	are clean
fixed path so script works on NT
tarted to put in markers strings so a status report script will be
	able to find the things
clean fix for the NATIVE_FLAG problem
more output for the ENVIRONMENT section
2002-09-13 00:24:34 +00:00
nicolson%netscape.com
7c36a5ea49 Fix 160020: KeyFactory.translateKey uses bad format names. 2002-09-09 23:21:45 +00:00
nicolson%netscape.com
24ac9ef616 Initialize variable to null. Indicated by bug 160076: Crashes when the
PasswordCallback returns an invalid password.
2002-09-09 21:24:48 +00:00
nicolson%netscape.com
13520fed74 deal with new exceptions. 2002-09-06 16:23:48 +00:00
nicolson%netscape.com
5d2a8fb52b fix 166711: SSLSocket.setCipherPreference does the wrong thing. 2002-09-05 01:33:40 +00:00
nicolson%netscape.com
ab02daa4a8 Fix 166711: SSLSocket.setCipherPreference does the wrong thing. 2002-09-05 01:17:00 +00:00
nicolson%netscape.com
b3a2ea855b "assert" is now a keyword, so remove this method. 2002-09-05 01:06:26 +00:00
nicolson%netscape.com
5f68a9a11b Take out the NSS_USE_STATIC_LIBS flag. I have no idea why we needed it before. 2002-08-29 18:07:42 +00:00
nicolson%netscape.com
d784f5eac1 Fix 143163: Add public constructors for some CRMF classes. 2002-08-28 18:20:24 +00:00
nicolson%netscape.com
778302c1c6 merge premature JSS_3_2_BRANCH back to the trunk. 2002-08-28 18:05:40 +00:00
nicolson%netscape.com
dfc82c5cca fix call to CryptoManager.initialize. 2002-08-28 17:59:04 +00:00
nicolson%netscape.com
506b620d77 clean up comments 2002-08-28 17:57:48 +00:00
nicolson%netscape.com
a84510a250 useful getAlgorithm method. 2002-08-28 17:57:20 +00:00
nicolson%netscape.com
4c9a4cc39d remove alg-dependent code. 2002-08-28 17:56:48 +00:00
nicolson%netscape.com
e1813e1cc3 fix bugs in keygen, particularly that break AES. 2002-08-28 17:56:15 +00:00
nicolson%netscape.com
b3bd80646e no more -b symbolic 2002-08-28 17:54:12 +00:00
glen.beasley%sun.com
70ab9c67cb 163762 verify cert test example 2002-08-27 21:50:44 +00:00
glen.beasley%sun.com
cb0a78f863 163762 make OCSP responder configurable at runtime 2002-08-27 21:46:13 +00:00
nicolson%netscape.com
65faa05435 comment. 2002-08-26 17:37:41 +00:00
nicolson%netscape.com
300bf20ee2 remove obsolete samples. 2002-08-26 17:34:15 +00:00
nicolson%netscape.com
89ffcc51af remove old SSLClient and SSLServer sample programs. They are not up-to-date. 2002-08-26 17:31:20 +00:00
nicolson%netscape.com
2377d2f3f6 syntax error wasn't caught because of bug in build script. 2002-08-26 17:22:02 +00:00
nicolson%netscape.com
d2296480fd A FilterInputStream to decode base64-encoded data. 2002-08-23 23:17:00 +00:00
nicolson%netscape.com
aab844b223 Remove try/catch block when loading libjss. This allows any UnsatisfiedLinkError
to get thrown to the application, where it can print it out with all its
information. Also stop checking for jssjava.
2002-08-14 23:00:45 +00:00
nicolson%netscape.com
0668349aad fine-tune javadoc commands. 2002-08-14 22:55:47 +00:00
glen.beasley%sun.com
178cd7c22b commented debug statement 2002-08-06 16:41:43 +00:00
nicolson%netscape.com
994e4ce3a2 Turn off the beta flag. Time for JSS 3.2 RTM! 2002-07-31 22:36:06 +00:00
nicolson%netscape.com
10ca31b470 Fix 157998: unable to importCertToPerm 2002-07-19 00:20:24 +00:00
glen.beasley%sun.com
51a67c36d3 typecast for AIX build proper way 2002-07-17 01:14:58 +00:00
glen.beasley%sun.com
966f2ff5b0 typecast for AIX build 2002-07-16 23:52:45 +00:00
nicolson%netscape.com
d77ce5ba26 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
2bf050cc40 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
44dd584a7a put back the assertion check. 2002-07-12 21:12:22 +00:00
nicolson%netscape.com
fbb8083387 Fix misspelled exception name. 2002-07-12 21:08:22 +00:00
nicolson%netscape.com
8272ce3448 add default constructor 2002-07-12 21:07:40 +00:00
nicolson%netscape.com
79ef0013a6 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
528f0be217 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
de40255dcc clarify error message. 2002-07-12 04:09:14 +00:00
glen.beasley%sun.com
3a0bcb0fb2 verify certificate in memory method 2002-07-04 00:36:52 +00:00
nicolson%netscape.com
5deb4aec40 Fix 120785: SSLSocket does not throw java.net.BindException. 2002-07-04 00:29:24 +00:00
nicolson%netscape.com
0e19cf236a need to include nspr.h. 2002-07-04 00:25:46 +00:00
glen.beasley%sun.com
d23ce70c2f verify cert in memory 2002-07-04 00:10:48 +00:00
nicolson%netscape.com
ae2a06d43f Fix 121710: throw better SSL exceptions. 2002-07-04 00:03:47 +00:00
nicolson%netscape.com
9db79236dd Print subject name instead of issuer name. 2002-07-03 23:58:58 +00:00
nicolson%netscape.com
8d5e4dc7c6 Update documentation for these functions. 2002-07-03 23:57:12 +00:00
nicolson%netscape.com
4bda169e18 deprecate old classes in favor of the JCA. 2002-07-03 23:51:20 +00:00
nicolson%netscape.com
3c7759665e moved JSSSecureRandomSpi into provider/java/security directory. 2002-07-03 23:49:32 +00:00
nicolson%netscape.com
0254942b89 Provider classes have been moved into the java/security and javax/crypto
subdirectories.
2002-07-03 23:48:53 +00:00
nicolson%netscape.com
1daf49c785 Fix 106846: Version strings in CryptoManager need updating. 2002-07-03 23:46:02 +00:00
nicolson%netscape.com
e6e1da9b32 typo in error message 2002-06-28 20:14:47 +00:00
nicolson%netscape.com
bb9ae88653 remove spurious println. 2002-06-27 21:16:42 +00:00
nicolson%netscape.com
01f5e0790f 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
fe199405d1 fix a build error in JDK 1.2. 2002-06-21 18:31:36 +00:00
nicolson%netscape.com
43274230b4 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
105ed4a40e upgrade to NSS 3.4.2. 2002-06-19 22:58:40 +00:00
nicolson%netscape.com
ab90ccc5bf 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
9d33093ccb 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
2d108bf4b9 add new tests. 2002-06-14 18:15:45 +00:00
nicolson%netscape.com
ec04d87172 remove broken code until bug is fixed. 2002-06-14 18:15:21 +00:00
nicolson%netscape.com
ff2ce0953a remove bogus comment. 2002-06-14 18:13:27 +00:00
nicolson%netscape.com
c01ead5178 add javadoc target. 2002-06-12 22:54:16 +00:00
nicolson%netscape.com
caac61f6c1 remove these files--there's no C code in this directory. 2002-06-12 20:18:10 +00:00
nicolson%netscape.com
98fd1b572a Grab NSS headers from directory "nss" instead of directory "security". 2002-06-12 20:11:22 +00:00
nicolson%netscape.com
d8cf3f39f6 remove makefiles for this directory, since it's only Java files. 2002-06-12 20:08:39 +00:00
glen.beasley%sun.com
764659f58f for release eng to build multiple platforms 2002-05-30 00:47:18 +00:00
nicolson%netscape.com
7c6284c42b 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
f2f9158fd3 Fix 146515: PK11PrivKey.fromPrivateKeyInfo enables no operations for RSA keys 2002-05-23 20:32:10 +00:00
nicolson%netscape.com
da61b269f4 move new entry to end of file 2002-05-23 18:45:23 +00:00
nicolson%netscape.com
3a1cd67cf6 cleanup tabs and spaces. 2002-05-23 18:45:00 +00:00
nicolson%netscape.com
d17d79e101 Various minor tweaks for code cleanliness. 2002-05-23 18:29:07 +00:00
glen.beasley%sun.com
7ef88f180e bug 144913 isCertValid addition 2002-05-23 17:52:23 +00:00