Package org.bouncycastle.crypto.tls
Class DefaultTlsCipherFactory
- java.lang.Object
-
- org.bouncycastle.crypto.tls.AbstractTlsCipherFactory
-
- org.bouncycastle.crypto.tls.DefaultTlsCipherFactory
-
- All Implemented Interfaces:
TlsCipherFactory
public class DefaultTlsCipherFactory extends AbstractTlsCipherFactory
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Constructor Summary
Constructors Constructor Description DefaultTlsCipherFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected AEADBlockCipher
createAEADBlockCipher_AES_CCM()
Deprecated.protected AEADBlockCipher
createAEADBlockCipher_AES_GCM()
Deprecated.protected AEADBlockCipher
createAEADBlockCipher_AES_OCB()
Deprecated.protected AEADBlockCipher
createAEADBlockCipher_Camellia_GCM()
Deprecated.protected BlockCipher
createAESBlockCipher()
Deprecated.protected TlsBlockCipher
createAESCipher(TlsContext context, int cipherKeySize, int macAlgorithm)
Deprecated.protected BlockCipher
createAESEngine()
Deprecated.protected BlockCipher
createCamelliaBlockCipher()
Deprecated.protected TlsBlockCipher
createCamelliaCipher(TlsContext context, int cipherKeySize, int macAlgorithm)
Deprecated.protected BlockCipher
createCamelliaEngine()
Deprecated.protected TlsCipher
createChaCha20Poly1305(TlsContext context)
Deprecated.TlsCipher
createCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm)
Deprecated.See enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument valuesprotected TlsAEADCipher
createCipher_AES_CCM(TlsContext context, int cipherKeySize, int macSize)
Deprecated.protected TlsAEADCipher
createCipher_AES_GCM(TlsContext context, int cipherKeySize, int macSize)
Deprecated.protected TlsAEADCipher
createCipher_AES_OCB(TlsContext context, int cipherKeySize, int macSize)
Deprecated.protected TlsAEADCipher
createCipher_Camellia_GCM(TlsContext context, int cipherKeySize, int macSize)
Deprecated.protected BlockCipher
createDESedeBlockCipher()
Deprecated.protected TlsBlockCipher
createDESedeCipher(TlsContext context, int macAlgorithm)
Deprecated.protected Digest
createHMACDigest(int macAlgorithm)
Deprecated.protected TlsNullCipher
createNullCipher(TlsContext context, int macAlgorithm)
Deprecated.protected TlsStreamCipher
createRC4Cipher(TlsContext context, int cipherKeySize, int macAlgorithm)
Deprecated.protected StreamCipher
createRC4StreamCipher()
Deprecated.protected BlockCipher
createSEEDBlockCipher()
Deprecated.protected TlsBlockCipher
createSEEDCipher(TlsContext context, int macAlgorithm)
Deprecated.
-
-
-
Method Detail
-
createCipher
public TlsCipher createCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm) throws java.io.IOException
Deprecated.Description copied from interface:TlsCipherFactory
See enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument values- Specified by:
createCipher
in interfaceTlsCipherFactory
- Overrides:
createCipher
in classAbstractTlsCipherFactory
- Throws:
java.io.IOException
-
createAESCipher
protected TlsBlockCipher createAESCipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createCamelliaCipher
protected TlsBlockCipher createCamelliaCipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createChaCha20Poly1305
protected TlsCipher createChaCha20Poly1305(TlsContext context) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createCipher_AES_CCM
protected TlsAEADCipher createCipher_AES_CCM(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createCipher_AES_GCM
protected TlsAEADCipher createCipher_AES_GCM(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createCipher_AES_OCB
protected TlsAEADCipher createCipher_AES_OCB(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createCipher_Camellia_GCM
protected TlsAEADCipher createCipher_Camellia_GCM(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createDESedeCipher
protected TlsBlockCipher createDESedeCipher(TlsContext context, int macAlgorithm) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createNullCipher
protected TlsNullCipher createNullCipher(TlsContext context, int macAlgorithm) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createRC4Cipher
protected TlsStreamCipher createRC4Cipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createSEEDCipher
protected TlsBlockCipher createSEEDCipher(TlsContext context, int macAlgorithm) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
createAESEngine
protected BlockCipher createAESEngine()
Deprecated.
-
createCamelliaEngine
protected BlockCipher createCamelliaEngine()
Deprecated.
-
createAESBlockCipher
protected BlockCipher createAESBlockCipher()
Deprecated.
-
createAEADBlockCipher_AES_CCM
protected AEADBlockCipher createAEADBlockCipher_AES_CCM()
Deprecated.
-
createAEADBlockCipher_AES_GCM
protected AEADBlockCipher createAEADBlockCipher_AES_GCM()
Deprecated.
-
createAEADBlockCipher_AES_OCB
protected AEADBlockCipher createAEADBlockCipher_AES_OCB()
Deprecated.
-
createAEADBlockCipher_Camellia_GCM
protected AEADBlockCipher createAEADBlockCipher_Camellia_GCM()
Deprecated.
-
createCamelliaBlockCipher
protected BlockCipher createCamelliaBlockCipher()
Deprecated.
-
createDESedeBlockCipher
protected BlockCipher createDESedeBlockCipher()
Deprecated.
-
createRC4StreamCipher
protected StreamCipher createRC4StreamCipher()
Deprecated.
-
createSEEDBlockCipher
protected BlockCipher createSEEDBlockCipher()
Deprecated.
-
createHMACDigest
protected Digest createHMACDigest(int macAlgorithm) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
-