diff options
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/BasicAgreement.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/BasicAgreement.java | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/BasicAgreement.java b/core/src/main/java/org/bouncycastle/crypto/BasicAgreement.java deleted file mode 100644 index 8e5ff0da..00000000 --- a/core/src/main/java/org/bouncycastle/crypto/BasicAgreement.java +++ /dev/null @@ -1,26 +0,0 @@ -package org.bouncycastle.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); -} |