diff options
Diffstat (limited to 'libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/KeyEncapsulation.java')
-rwxr-xr-x | libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/KeyEncapsulation.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/KeyEncapsulation.java b/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/KeyEncapsulation.java deleted file mode 100755 index 1a53e7908..000000000 --- a/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/KeyEncapsulation.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.spongycastle.crypto; - -/** - * The basic interface for key encapsulation mechanisms. - */ -public interface KeyEncapsulation -{ - /** - * Initialise the key encapsulation mechanism. - */ - public void init(CipherParameters param); - - /** - * Encapsulate a randomly generated session key. - */ - public CipherParameters encrypt(byte[] out, int outOff, int keyLen); - - /** - * Decapsulate an encapsulated session key. - */ - public CipherParameters decrypt(byte[] in, int inOff, int inLen, int keyLen); -} |