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

348 Коммитов

Автор SHA1 Сообщение Дата
nicolson%netscape.com 91109807f8 Fix 202182: Base64InputStream throws EOFException on valid input. 2003-04-15 22:39:36 +00:00
nicolson%netscape.com 97011b8592 Catch NULL pointers before passing them to C and risking a crash.
Improve javadoc.
2003-04-15 21:55:53 +00:00
nicolson%netscape.com f05b22eedd Remove misleading comment. 2003-04-09 21:30:19 +00:00
nicolson%netscape.com bbedcf3afe Fix 198125: PK11Signature.engineUpdateNative ignores offset and length. 2003-03-19 00:57:29 +00:00
glen.beasley%sun.com 63fb2576a6 solaris pkg version 2003-01-14 20:26:36 +00:00
glen.beasley%sun.com a448ee37c6 solaris pkging support 2003-01-13 20:35:36 +00:00
glen.beasley%sun.com d362c01efd Solaris pkg support 2003-01-13 19:43:15 +00:00
glen.beasley%sun.com 173ecd55e4 Solaris pkg copyright 2003-01-09 22:53:13 +00:00
nicolson%netscape.com 9460ab9be1 Upgrade version from 3.2 to 3.3.
Uncomment MessageDigest implementations (doh!).
2003-01-01 02:58:22 +00:00
nicolson%netscape.com 5e1bcfd6d2 Add DigestTest to all.pl.
Make DigestTest and SigTest return nonzero error code on failure.
2003-01-01 02:57:50 +00:00
nicolson%netscape.com 76ceb77be4 Fix 186097: ProofOfPossession.encode() has paranoid assertion. 2002-12-19 02:31:38 +00:00
nicolson%netscape.com a7f090b8a6 Partial fix for 184754: assertion violation in get_token_certs_for_cache.
Don't assert if we fail to lookup the cert we just imported. It could
be a bug in the PKCS #11 driver. Instead, throw an exception.
2002-12-18 23:14:48 +00:00
nicolson%netscape.com f5c66b92aa Fix 180827: Update version strings for JSS 3.3. 2002-12-13 06:12:30 +00:00
nicolson%netscape.com 844a47f512 Fix 180396: javax.crypto.Cipher wrapping does not work with RSA algorithm.
Support RSA as a wrapping/unwrapping algorithm.
2002-11-19 00:41:09 +00:00
nicolson%netscape.com 80f7fdb602 Throw InvalidKeyException instead of InvalidAlgorithmParameterException,
because the latter may get thrown away by our caller, but the former will
not be.
2002-11-19 00:39:43 +00:00
nicolson%netscape.com 929e00e5b5 Change silly switch statement to an if statement. 2002-11-19 00:31:10 +00:00
nicolson%netscape.com 5f21037ae6 Make NotExtractableException take a String argument to its constructor. 2002-11-19 00:30:43 +00:00
nicolson%netscape.com 62297d34ca default doesProduceOutput to true for compatibility. 2002-11-08 02:24:20 +00:00
nicolson%netscape.com ac141012ed Add isExtensionPresent and getExtension. 2002-11-08 00:40:26 +00:00
glen.beasley%sun.com d39fba9d10 removes sun provider and set passwords 2002-11-07 22:49:26 +00:00
glen.beasley%sun.com da13ded012 move removeSunProvider after JSS JCE provider is loaded 2002-11-07 03:33:04 +00:00
nicolson%netscape.com c6fdcc6563 Add license header to new file. 2002-11-06 03:24:39 +00:00
nicolson%netscape.com ecfe6a3ccd Add TestSDR, to test the new SecretDecoderRing.
In all.pl, always set the CLASSPATH to be the signed JSS JAR file, so
that we can use the JCE (javax.crypto.*) interface.
2002-11-06 03:22:10 +00:00
nicolson%netscape.com 7ddd008d89 Correctly detect a missing key. 2002-11-06 03:20:53 +00:00
nicolson%netscape.com 10b3205212 Improve InvalidBERException.
Add feature of SEQUENCE.OF_Template whereby elements need not produce
any output. This is for dealing with very large SEQUENCEs, such as
large CRLs, where the list should be processed in some way, but not made
into an ASN1 object hierarchy.
2002-11-06 02:00:55 +00:00
nicolson%netscape.com bf773f650f update version strings. 2002-10-18 23:59:01 +00:00
nicolson%netscape.com c30e440420 The new SecretDecoderRing. 2002-10-17 00:33:42 +00:00
nicolson%netscape.com 9327ee2bc2 Generate a permanent key pair, since KeyStore isn't working yet. 2002-10-17 00:32:48 +00:00
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