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/IESKey.java')
-rw-r--r--prov/src/main/java/org/spongycastle/jce/interfaces/IESKey.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/prov/src/main/java/org/spongycastle/jce/interfaces/IESKey.java b/prov/src/main/java/org/spongycastle/jce/interfaces/IESKey.java
new file mode 100644
index 00000000..91aebd6c
--- /dev/null
+++ b/prov/src/main/java/org/spongycastle/jce/interfaces/IESKey.java
@@ -0,0 +1,22 @@
+package org.spongycastle.jce.interfaces;
+
+import java.security.Key;
+import java.security.PrivateKey;
+import java.security.PublicKey;
+
+/**
+ * key pair for use with an integrated encryptor
+ */
+public interface IESKey
+ extends Key
+{
+ /**
+ * return the intended recipient's/sender's public key.
+ */
+ public PublicKey getPublic();
+
+ /**
+ * return the local private key.
+ */
+ public PrivateKey getPrivate();
+}