nicolson%netscape.com
2c53a77295
Upgrade version from 3.2 to 3.3.
...
Uncomment MessageDigest implementations (doh!).
git-svn-id: svn://10.0.0.236/trunk@135748 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 02:58:22 +00:00
nicolson%netscape.com
cf0ea2d2f5
Add DigestTest to all.pl.
...
Make DigestTest and SigTest return nonzero error code on failure.
git-svn-id: svn://10.0.0.236/trunk@135747 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 02:57:50 +00:00
nicolson%netscape.com
19837f51d9
Fix 186097: ProofOfPossession.encode() has paranoid assertion.
...
git-svn-id: svn://10.0.0.236/trunk@135481 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 02:31:38 +00:00
nicolson%netscape.com
0d19ebb1e6
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.
git-svn-id: svn://10.0.0.236/trunk@135467 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:14:48 +00:00
nicolson%netscape.com
a0a78775dd
Fix 180827: Update version strings for JSS 3.3.
...
git-svn-id: svn://10.0.0.236/trunk@135225 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 06:12:30 +00:00
nicolson%netscape.com
ed9112d872
Fix 180396: javax.crypto.Cipher wrapping does not work with RSA algorithm.
...
Support RSA as a wrapping/unwrapping algorithm.
git-svn-id: svn://10.0.0.236/trunk@134060 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 00:41:09 +00:00
nicolson%netscape.com
d05069bcc8
Throw InvalidKeyException instead of InvalidAlgorithmParameterException,
...
because the latter may get thrown away by our caller, but the former will
not be.
git-svn-id: svn://10.0.0.236/trunk@134059 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 00:39:43 +00:00
nicolson%netscape.com
03aa936d9f
Change silly switch statement to an if statement.
...
git-svn-id: svn://10.0.0.236/trunk@134058 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 00:31:10 +00:00
nicolson%netscape.com
71f9aa609f
Make NotExtractableException take a String argument to its constructor.
...
git-svn-id: svn://10.0.0.236/trunk@134057 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 00:30:43 +00:00
nicolson%netscape.com
24f684096b
default doesProduceOutput to true for compatibility.
...
git-svn-id: svn://10.0.0.236/trunk@133364 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 02:24:20 +00:00
nicolson%netscape.com
abe829a4ba
Add isExtensionPresent and getExtension.
...
git-svn-id: svn://10.0.0.236/trunk@133347 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 00:40:26 +00:00
glen.beasley%sun.com
0cbae08b88
removes sun provider and set passwords
...
git-svn-id: svn://10.0.0.236/trunk@133331 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 22:49:26 +00:00
glen.beasley%sun.com
aca505f03a
move removeSunProvider after JSS JCE provider is loaded
...
git-svn-id: svn://10.0.0.236/trunk@133249 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 03:33:04 +00:00
nicolson%netscape.com
b94775cb10
Add license header to new file.
...
git-svn-id: svn://10.0.0.236/trunk@133105 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 03:24:39 +00:00
nicolson%netscape.com
16eb4e02e6
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.
git-svn-id: svn://10.0.0.236/trunk@133104 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 03:22:10 +00:00
nicolson%netscape.com
af2568778b
Correctly detect a missing key.
...
git-svn-id: svn://10.0.0.236/trunk@133102 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 03:20:53 +00:00
nicolson%netscape.com
04974987a2
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.
git-svn-id: svn://10.0.0.236/trunk@133069 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:00:55 +00:00
nicolson%netscape.com
a3e7d22558
update version strings.
...
git-svn-id: svn://10.0.0.236/trunk@132279 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 23:59:01 +00:00
nicolson%netscape.com
6a940b01b5
The new SecretDecoderRing.
...
git-svn-id: svn://10.0.0.236/trunk@132119 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 00:33:42 +00:00
nicolson%netscape.com
cb6aa3e00a
Generate a permanent key pair, since KeyStore isn't working yet.
...
git-svn-id: svn://10.0.0.236/trunk@132118 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 00:32:48 +00:00
nicolson%netscape.com
cef86b7759
remove print statements.
...
git-svn-id: svn://10.0.0.236/trunk@132114 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 00:07:50 +00:00
nicolson%netscape.com
32e72bad8f
Forget KeyStore, it is still very broken.
...
git-svn-id: svn://10.0.0.236/trunk@132113 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 00:07:29 +00:00
nicolson%netscape.com
ef17c4b85b
More little hacks, but it still doesn't work right.
...
git-svn-id: svn://10.0.0.236/trunk@132111 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 00:07:08 +00:00
nicolson%netscape.com
3bcb5a3018
Fix an implementation detail.
...
git-svn-id: svn://10.0.0.236/trunk@132110 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 00:05:53 +00:00
nicolson%netscape.com
8345e49326
Temporary fix for 164692: SSL ops that timeout should throw
...
java.net.SocketTimeoutException.
git-svn-id: svn://10.0.0.236/trunk@131774 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 03:49:34 +00:00
glen.beasley%sun.com
68b62dcd08
171027 removed deprecated code
...
git-svn-id: svn://10.0.0.236/trunk@131672 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 04:35:56 +00:00
nicolson%netscape.com
e69952aae5
upgrade to NSS 3.6 RTM and NSPR 4.2.2.
...
git-svn-id: svn://10.0.0.236/trunk@131601 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 18:30:38 +00:00
nicolson%netscape.com
2f7af6ed13
fix warning.
...
git-svn-id: svn://10.0.0.236/trunk@131308 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 18:00:28 +00:00
nicolson%netscape.com
f0010a907b
Fix 158727: JSSKeyStoreSpi.getCertificateChain is questionable.
...
Make KeyStore.getCertificateChain() work.
git-svn-id: svn://10.0.0.236/trunk@131204 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 00:19:49 +00:00
nicolson%netscape.com
29e734b546
Fix 162904: Missing invalidityDate in RevRequest in CMMF package.
...
Update RevRequest to conform to RFC 2797.
Also updated the CRLReason enumeration.
git-svn-id: svn://10.0.0.236/trunk@131195 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 22:46:04 +00:00
nicolson%netscape.com
41d734ceac
Fix 160028: JSSKeyGeneratorSpi.HmacSHA1 should be renamed to PBAHmacSHA1.
...
git-svn-id: svn://10.0.0.236/trunk@131185 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 22:27:46 +00:00
nicolson%netscape.com
3b633d1611
Fix 160017: getAlgorithm() not implemented for PKCS #11 keys.
...
git-svn-id: svn://10.0.0.236/trunk@131181 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 22:13:21 +00:00
nicolson%netscape.com
db6a32ec5c
Open up the class a little.
...
git-svn-id: svn://10.0.0.236/trunk@131173 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 21:18:35 +00:00
nicolson%netscape.com
36a6118e7f
Remove hardcoded algorithms (now that NSS bug 162761 is fixed).
...
git-svn-id: svn://10.0.0.236/trunk@131172 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 21:05:18 +00:00
nicolson%netscape.com
0049aaa56c
Deprecate this, start using javax.crypto.BadPaddingException instead.
...
git-svn-id: svn://10.0.0.236/trunk@131171 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 21:04:37 +00:00
nicolson%netscape.com
af34c60f39
Fix EncryptionAlgorithm to handle lookups from JCA descriptions.
...
Support CipherSpi.engineGetKeySize.
Handle javax.crypto.spec.IvParameterSpec.
Handle multiple parameter classes.
git-svn-id: svn://10.0.0.236/trunk@131170 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 21:04:09 +00:00
nicolson%netscape.com
b903ab2d58
support storing private and symmetric keys (now that NSS bug 128172 is fixed).
...
git-svn-id: svn://10.0.0.236/trunk@131169 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 21:02:50 +00:00
nicolson%netscape.com
b381b31548
Handle AES keys.
...
git-svn-id: svn://10.0.0.236/trunk@131168 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 21:02:16 +00:00
nicolson%netscape.com
08e32b4adc
allow algorithms to support multiple parameter classes.
...
git-svn-id: svn://10.0.0.236/trunk@131167 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 21:00:58 +00:00
nicolson%netscape.com
d699d77195
Cleanup spurious printlns and exceptions.
...
git-svn-id: svn://10.0.0.236/trunk@131166 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 20:59:20 +00:00
nicolson%netscape.com
1d826a11a5
Add SymmetricKey.getLength().
...
git-svn-id: svn://10.0.0.236/trunk@131165 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 20:58:05 +00:00
nicolson%netscape.com
e852f3706d
Fix error message when we find something unexpected in a SEQUENCE.
...
git-svn-id: svn://10.0.0.236/trunk@130555 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 00:07:11 +00:00
nicolson%netscape.com
c778478ad8
override INTEGER.getTemplate() with one that returns an ENUMERATED.Template.
...
git-svn-id: svn://10.0.0.236/trunk@130546 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 23:25:21 +00:00
glen.beasley%sun.com
f5e62e4d98
163762 configureOCSPNative
...
git-svn-id: svn://10.0.0.236/trunk@130528 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 19:52:06 +00:00
nicolson%netscape.com
117ba43908
Fix 160024: remove class JSSJCEProvider.
...
git-svn-id: svn://10.0.0.236/trunk@129992 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 01:22:52 +00:00
nicolson%netscape.com
46281ccb74
make SPKI.getEncoded() actually return itself, DER-encoded. This way it
...
correctly implements X509EncodedKeySpec.
git-svn-id: svn://10.0.0.236/trunk@129991 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 01:16:41 +00:00
nicolson%netscape.com
fdaadfb2e0
more descriptive error message.
...
git-svn-id: svn://10.0.0.236/trunk@129989 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 01:15:36 +00:00
nicolson%netscape.com
46b6273d7c
Fix 150720: Support KeyFactory.generatePrivate(DSAPrivateKeySpec).
...
git-svn-id: svn://10.0.0.236/trunk@129987 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 01:14:08 +00:00
nicolson%netscape.com
4de46308fc
Fix 157513: SignerInfo.java does not verify what it have signed.
...
git-svn-id: svn://10.0.0.236/trunk@129737 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 19:42:13 +00:00
sonja.mirtitsch%sun.com
3b1f3b6d4b
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
git-svn-id: svn://10.0.0.236/trunk@129461 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 00:24:34 +00:00