Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class DefaultTlsCipherFactory

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.AbstractTlsCipherFactory
      extended byorg.bouncycastle.crypto.tls.DefaultTlsCipherFactory
All Implemented Interfaces:
TlsCipherFactory

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public class DefaultTlsCipherFactory
extends AbstractTlsCipherFactory


Constructor Summary
DefaultTlsCipherFactory()
          Deprecated.  
 
Method Summary
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.  
protected  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.  
 TlsCipher createCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm)
          Deprecated. See enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument values
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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTlsCipherFactory

public DefaultTlsCipherFactory()
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 interface TlsCipherFactory
Overrides:
createCipher in class AbstractTlsCipherFactory
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

Bouncy Castle Cryptography Library 1.64