diff options
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/AbstractTlsCipherFactory.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/tls/AbstractTlsCipherFactory.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/AbstractTlsCipherFactory.java b/core/src/main/java/org/bouncycastle/crypto/tls/AbstractTlsCipherFactory.java new file mode 100644 index 00000000..9c2a526e --- /dev/null +++ b/core/src/main/java/org/bouncycastle/crypto/tls/AbstractTlsCipherFactory.java @@ -0,0 +1,15 @@ +package org.bouncycastle.crypto.tls; + +import java.io.IOException; + +public class AbstractTlsCipherFactory + implements TlsCipherFactory +{ + + public TlsCipher createCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm) + throws IOException + { + + throw new TlsFatalAlert(AlertDescription.internal_error); + } +} |