diff options
Diffstat (limited to 'libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/BasicAgreement.java')
-rw-r--r-- | libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/BasicAgreement.java | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/BasicAgreement.java b/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/BasicAgreement.java deleted file mode 100644 index e6e003c63..000000000 --- a/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/BasicAgreement.java +++ /dev/null @@ -1,26 +0,0 @@ -package org.spongycastle.crypto; - -import java.math.BigInteger; - -/** - * The basic interface that basic Diffie-Hellman implementations - * conforms to. - */ -public interface BasicAgreement -{ - /** - * initialise the agreement engine. - */ - void init(CipherParameters param); - - /** - * return the field size for the agreement algorithm in bytes. - */ - int getFieldSize(); - - /** - * given a public key from a given party calculate the next - * message in the agreement sequence. - */ - BigInteger calculateAgreement(CipherParameters pubKey); -} |