diff options
author | Casey Marshall <csm@gnu.org> | 2003-04-23 23:15:47 +0000 |
---|---|---|
committer | Casey Marshall <csm@gnu.org> | 2003-04-23 23:15:47 +0000 |
commit | d6887a7fff9ec6fbb66d5599bb6d446480ef9bee (patch) | |
tree | 4da0c9675e444098d416e252f05c1d2a3e983500 /java/security/AlgorithmParameters.java | |
parent | 14981d2fe10159f77a50b13ea956532f222635cd (diff) | |
download | classpath-d6887a7fff9ec6fbb66d5599bb6d446480ef9bee.tar.gz |
java/security/Makefile.am: removed Engine.java
java/security/AlgorithmParameterGenerator.java
java/security/AlgorithmParameters.java
java/security/KeyFactory.java
java/security/KeyPairGenerator.java
java/security/KeyStore.java
java/security/MessageDigest.java
java/security/SecureRandom.java
java/security/Signature.java
accomodate changes to Engine class.
java/security/cert/Certificate.java: Added writeReplace()
method.
java/security/cert/CertificateFactory.java: (JDK 1.4 compatibility)
(getInstance(String)) and modified to use generic getInstance
method.
(getInstance(String, String)) likewise.
getInstance(String, Provider) method added.
getInstance(String, String, Provider) method removed.
generateCertPath(InputStream) method added.
generateCertPath(InputStream, String) method added.
generateCertPath(List) method added.
getCertPathEncodings() method added.
java/security/cert/CertificateFactorySpi.java: (1.4 compatibility)
engineGenerateCertPath(InputStream) method added.
engineGenerateCertPath(InputStream, String) method added.
engineGenerateCertPath(List) method added.
engineGetCertPathEncodings() method added.
Diffstat (limited to 'java/security/AlgorithmParameters.java')
-rw-r--r-- | java/security/AlgorithmParameters.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/security/AlgorithmParameters.java b/java/security/AlgorithmParameters.java index a7212772b..07d76bb7b 100644 --- a/java/security/AlgorithmParameters.java +++ b/java/security/AlgorithmParameters.java @@ -41,6 +41,8 @@ import java.security.spec.InvalidParameterSpecException; import java.security.spec.AlgorithmParameterSpec; import java.io.IOException; +import gnu.java.security.Engine; + /** * <p>This class is used as an opaque representation of cryptographic * parameters.</p> @@ -204,6 +206,10 @@ public class AlgorithmParameters Engine.getInstance(ALGORITHM_PARAMETERS, algorithm, provider), provider, algorithm); } + catch (java.lang.reflect.InvocationTargetException ite) + { + throw new NoSuchAlgorithmException(algorithm); + } catch (ClassCastException cce) { throw new NoSuchAlgorithmException(algorithm); |