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 AEADBlockCiphercreateAEADBlockCipher_AES_CCM()Deprecated.protected AEADBlockCiphercreateAEADBlockCipher_AES_GCM()Deprecated.protected AEADBlockCiphercreateAEADBlockCipher_AES_OCB()Deprecated.protected AEADBlockCiphercreateAEADBlockCipher_Camellia_GCM()Deprecated.protected BlockCiphercreateAESBlockCipher()Deprecated.protected TlsBlockCiphercreateAESCipher(TlsContext context, int cipherKeySize, int macAlgorithm)Deprecated.protected BlockCiphercreateAESEngine()Deprecated.protected BlockCiphercreateCamelliaBlockCipher()Deprecated.protected TlsBlockCiphercreateCamelliaCipher(TlsContext context, int cipherKeySize, int macAlgorithm)Deprecated.protected BlockCiphercreateCamelliaEngine()Deprecated.protected TlsCiphercreateChaCha20Poly1305(TlsContext context)Deprecated.TlsCiphercreateCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm)Deprecated.See enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument valuesprotected TlsAEADCiphercreateCipher_AES_CCM(TlsContext context, int cipherKeySize, int macSize)Deprecated.protected TlsAEADCiphercreateCipher_AES_GCM(TlsContext context, int cipherKeySize, int macSize)Deprecated.protected TlsAEADCiphercreateCipher_AES_OCB(TlsContext context, int cipherKeySize, int macSize)Deprecated.protected TlsAEADCiphercreateCipher_Camellia_GCM(TlsContext context, int cipherKeySize, int macSize)Deprecated.protected BlockCiphercreateDESedeBlockCipher()Deprecated.protected TlsBlockCiphercreateDESedeCipher(TlsContext context, int macAlgorithm)Deprecated.protected DigestcreateHMACDigest(int macAlgorithm)Deprecated.protected TlsNullCiphercreateNullCipher(TlsContext context, int macAlgorithm)Deprecated.protected TlsStreamCiphercreateRC4Cipher(TlsContext context, int cipherKeySize, int macAlgorithm)Deprecated.protected StreamCiphercreateRC4StreamCipher()Deprecated.protected BlockCiphercreateSEEDBlockCipher()Deprecated.protected TlsBlockCiphercreateSEEDCipher(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:TlsCipherFactorySee enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument values- Specified by:
createCipherin interfaceTlsCipherFactory- Overrides:
createCipherin 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
-
-