aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/security/spec
diff options
context:
space:
mode:
authorWarren Levy <warrenl@cygnus.com>2000-03-10 02:43:57 +0000
committerWarren Levy <warrenl@gcc.gnu.org>2000-03-10 02:43:57 +0000
commit8560e49702603dcae44dfa161bc7eb04bd372bb7 (patch)
tree574fb7f4ddc6a81ad4e9d46c9a034ea9567ce220 /libjava/java/security/spec
parent7238ae533fb7bfc6155075acd058c335a40647a2 (diff)
downloadgcc-8560e49702603dcae44dfa161bc7eb04bd372bb7.zip
gcc-8560e49702603dcae44dfa161bc7eb04bd372bb7.tar.gz
gcc-8560e49702603dcae44dfa161bc7eb04bd372bb7.tar.bz2
AlgorithmParameterGeneratorSpi.java: New file.
* java/security/AlgorithmParameterGeneratorSpi.java: New file. * java/security/DigestException.java: New file. * java/security/GeneralSecurityException.java: New file. * java/security/InvalidAlgorithmParameterException.java: New file. * java/security/InvalidKeyException.java: New file. * java/security/InvalidParameterException.java: New file. * java/security/Key.java: New file. * java/security/KeyException.java: New file. * java/security/KeyPair.java: New file. * java/security/KeyPairGenerator.java: New file. * java/security/KeyPairGeneratorSpi.java: New file. * java/security/NoSuchProviderException.java: New file. * java/security/PrivateKey.java: New file. * java/security/Provider.java: New file. * java/security/PublicKey.java: New file. * java/security/SecureRandom.java: New file. * java/security/Security.java: New file. * java/security/Signature.java: New file. * java/security/SignatureException.java: New file. * java/security/interfaces/DSAKey.java: New file. * java/security/interfaces/DSAParams.java: New file. * java/security/interfaces/DSAPrivateKey.java: New file. * java/security/interfaces/DSAPublicKey.java: New file. * java/security/interfaces/RSAPrivateCrtKey.java: New file. * java/security/interfaces/RSAPrivateKey.java: New file. * java/security/interfaces/RSAPublicKey.java: New file. * java/security/spec/AlgorithmParameterSpec.java: New file. * java/security/spec/InvalidKeySpecException.java: New file. * java/security/spec/InvalidParameterSpecException.java: New file. * java/security/spec/KeySpec.java: New file. * java/security/spec/RSAPrivateCrtKeySpec.java: New file. * java/security/spec/RSAPrivateKeySpec.java: New file. * java/security/spec/RSAPublicKeySpec.java: New file. * Makefile.am: Added above java.security files. * Makefile.in: Rebuilt. * java/security/MessageDigest.java: Rewritten. * java/security/SecureClassLoader.java: Added JDK1.2 comment. From-SVN: r32461
Diffstat (limited to 'libjava/java/security/spec')
-rw-r--r--libjava/java/security/spec/AlgorithmParameterSpec.java25
-rw-r--r--libjava/java/security/spec/InvalidKeySpecException.java33
-rw-r--r--libjava/java/security/spec/InvalidParameterSpecException.java33
-rw-r--r--libjava/java/security/spec/KeySpec.java25
-rw-r--r--libjava/java/security/spec/RSAPrivateCrtKeySpec.java23
-rw-r--r--libjava/java/security/spec/RSAPrivateKeySpec.java23
-rw-r--r--libjava/java/security/spec/RSAPublicKeySpec.java23
7 files changed, 185 insertions, 0 deletions
diff --git a/libjava/java/security/spec/AlgorithmParameterSpec.java b/libjava/java/security/spec/AlgorithmParameterSpec.java
new file mode 100644
index 0000000..5781623
--- /dev/null
+++ b/libjava/java/security/spec/AlgorithmParameterSpec.java
@@ -0,0 +1,25 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package java.security.spec;
+
+/**
+ * @author Warren Levy <warrenl@cygnus.com>
+ * @date February 1, 2000.
+ */
+
+/* Written using on-line Java Platform 1.2 API Specification.
+ * Status: Believed complete and correct.
+ */
+
+// JDK1.2
+public interface AlgorithmParameterSpec
+{
+ // This interface contains no methods or constants. Its only purpose is
+ // to group (and provide type safety for) all key specifications.
+}
diff --git a/libjava/java/security/spec/InvalidKeySpecException.java b/libjava/java/security/spec/InvalidKeySpecException.java
new file mode 100644
index 0000000..632fd25
--- /dev/null
+++ b/libjava/java/security/spec/InvalidKeySpecException.java
@@ -0,0 +1,33 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package java.security.spec;
+import java.security.GeneralSecurityException;
+
+/**
+ * @author Warren Levy <warrenl@cygnus.com>
+ * @date February 1, 2000.
+ */
+
+/* Written using on-line Java Platform 1.2 API Specification.
+ * Status: Believed complete and correct.
+ */
+
+// JDK1.2
+public class InvalidKeySpecException extends GeneralSecurityException
+{
+ public InvalidKeySpecException()
+ {
+ super();
+ }
+
+ public InvalidKeySpecException(String msg)
+ {
+ super(msg);
+ }
+}
diff --git a/libjava/java/security/spec/InvalidParameterSpecException.java b/libjava/java/security/spec/InvalidParameterSpecException.java
new file mode 100644
index 0000000..1e2aff5
--- /dev/null
+++ b/libjava/java/security/spec/InvalidParameterSpecException.java
@@ -0,0 +1,33 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package java.security.spec;
+import java.security.GeneralSecurityException;
+
+/**
+ * @author Warren Levy <warrenl@cygnus.com>
+ * @date February 1, 2000.
+ */
+
+/* Written using on-line Java Platform 1.2 API Specification.
+ * Status: Believed complete and correct.
+ */
+
+// JDK1.2
+public class InvalidParameterSpecException extends GeneralSecurityException
+{
+ public InvalidParameterSpecException()
+ {
+ super();
+ }
+
+ public InvalidParameterSpecException(String msg)
+ {
+ super(msg);
+ }
+}
diff --git a/libjava/java/security/spec/KeySpec.java b/libjava/java/security/spec/KeySpec.java
new file mode 100644
index 0000000..75e50f9
--- /dev/null
+++ b/libjava/java/security/spec/KeySpec.java
@@ -0,0 +1,25 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package java.security.spec;
+
+/**
+ * @author Warren Levy <warrenl@cygnus.com>
+ * @date February 1, 2000.
+ */
+
+/* Written using on-line Java Platform 1.2 API Specification.
+ * Status: Believed complete and correct.
+ */
+
+// JDK1.2
+public interface KeySpec
+{
+ // This interface contains no methods or constants. Its only purpose is
+ // to group (and provide type safety for) all key specifications.
+}
diff --git a/libjava/java/security/spec/RSAPrivateCrtKeySpec.java b/libjava/java/security/spec/RSAPrivateCrtKeySpec.java
new file mode 100644
index 0000000..6a31163
--- /dev/null
+++ b/libjava/java/security/spec/RSAPrivateCrtKeySpec.java
@@ -0,0 +1,23 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package java.security.spec;
+
+/**
+ * @author Warren Levy <warrenl@cygnus.com>
+ * @date February 7, 2000.
+ */
+
+/* Written using on-line Java Platform 1.2 API Specification.
+ * Status: Stubbed.
+ */
+
+// JDK1.2
+public class RSAPrivateCrtKeySpec extends RSAPrivateKeySpec
+{
+}
diff --git a/libjava/java/security/spec/RSAPrivateKeySpec.java b/libjava/java/security/spec/RSAPrivateKeySpec.java
new file mode 100644
index 0000000..4f38a2d
--- /dev/null
+++ b/libjava/java/security/spec/RSAPrivateKeySpec.java
@@ -0,0 +1,23 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package java.security.spec;
+
+/**
+ * @author Warren Levy <warrenl@cygnus.com>
+ * @date February 7, 2000.
+ */
+
+/* Written using on-line Java Platform 1.2 API Specification.
+ * Status: Stubbed.
+ */
+
+// JDK1.2
+public class RSAPrivateKeySpec implements KeySpec
+{
+}
diff --git a/libjava/java/security/spec/RSAPublicKeySpec.java b/libjava/java/security/spec/RSAPublicKeySpec.java
new file mode 100644
index 0000000..0bdcd22
--- /dev/null
+++ b/libjava/java/security/spec/RSAPublicKeySpec.java
@@ -0,0 +1,23 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package java.security.spec;
+
+/**
+ * @author Warren Levy <warrenl@cygnus.com>
+ * @date February 10, 2000.
+ */
+
+/* Written using on-line Java Platform 1.2 API Specification.
+ * Status: Stubbed.
+ */
+
+// JDK1.2
+public class RSAPublicKeySpec implements KeySpec
+{
+}