Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'prov/src/main/jdk1.4/org/spongycastle/jce/interfaces/ECKey.java')
-rw-r--r--prov/src/main/jdk1.4/org/spongycastle/jce/interfaces/ECKey.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/prov/src/main/jdk1.4/org/spongycastle/jce/interfaces/ECKey.java b/prov/src/main/jdk1.4/org/spongycastle/jce/interfaces/ECKey.java
new file mode 100644
index 00000000..1cee721d
--- /dev/null
+++ b/prov/src/main/jdk1.4/org/spongycastle/jce/interfaces/ECKey.java
@@ -0,0 +1,22 @@
+package org.spongycastle.jce.interfaces;
+
+import org.spongycastle.jce.spec.ECParameterSpec;
+
+/**
+ * generic interface for an Elliptic Curve Key.
+ */
+public interface ECKey
+{
+ /**
+ * return a parameter specification representing the EC domain parameters
+ * for the key.
+ * @deprecated this method vanises in JDK 1.5. Use getParameters().
+ */
+ public ECParameterSpec getParams();
+
+ /**
+ * return a parameter specification representing the EC domain parameters
+ * for the key.
+ */
+ public ECParameterSpec getParameters();
+}