aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/interfaces/ECKey.java
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/interfaces/ECKey.java')
-rw-r--r--libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/interfaces/ECKey.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/interfaces/ECKey.java b/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/interfaces/ECKey.java
new file mode 100644
index 000000000..b463c11d9
--- /dev/null
+++ b/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/interfaces/ECKey.java
@@ -0,0 +1,15 @@
+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.
+ */
+ public ECParameterSpec getParameters();
+}