diff options
Diffstat (limited to 'bcprov/src/main/java/org/bouncycastle/crypto/tls/TlsCipherFactory.java')
-rw-r--r-- | bcprov/src/main/java/org/bouncycastle/crypto/tls/TlsCipherFactory.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bcprov/src/main/java/org/bouncycastle/crypto/tls/TlsCipherFactory.java b/bcprov/src/main/java/org/bouncycastle/crypto/tls/TlsCipherFactory.java new file mode 100644 index 0000000..7407474 --- /dev/null +++ b/bcprov/src/main/java/org/bouncycastle/crypto/tls/TlsCipherFactory.java @@ -0,0 +1,12 @@ +package org.bouncycastle.crypto.tls; + +import java.io.IOException; + +public interface TlsCipherFactory +{ + /** + * See enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument values + */ + TlsCipher createCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm) + throws IOException; +} |