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/java/org/spongycastle/jce/interfaces/MQVPublicKey.java')
-rw-r--r--prov/src/main/java/org/spongycastle/jce/interfaces/MQVPublicKey.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/prov/src/main/java/org/spongycastle/jce/interfaces/MQVPublicKey.java b/prov/src/main/java/org/spongycastle/jce/interfaces/MQVPublicKey.java
new file mode 100644
index 00000000..a0ff3a32
--- /dev/null
+++ b/prov/src/main/java/org/spongycastle/jce/interfaces/MQVPublicKey.java
@@ -0,0 +1,20 @@
+package org.spongycastle.jce.interfaces;
+
+import java.security.PublicKey;
+
+/**
+ * Static/ephemeral public key pair for use with ECMQV key agreement
+ */
+public interface MQVPublicKey
+ extends PublicKey
+{
+ /**
+ * return the static public key.
+ */
+ PublicKey getStaticKey();
+
+ /**
+ * return the ephemeral public key.
+ */
+ PublicKey getEphemeralKey();
+}