public class DefaultTlsCipherFactory extends AbstractTlsCipherFactory
Constructor and Description |
---|
DefaultTlsCipherFactory() |
Modifier and Type | Method and Description |
---|---|
protected AEADBlockCipher |
createAEADBlockCipher_AES_CCM() |
protected AEADBlockCipher |
createAEADBlockCipher_AES_GCM() |
protected AEADBlockCipher |
createAEADBlockCipher_Camellia_GCM() |
protected BlockCipher |
createAESBlockCipher() |
protected TlsBlockCipher |
createAESCipher(TlsContext context,
int cipherKeySize,
int macAlgorithm) |
protected BlockCipher |
createAESEngine() |
protected BlockCipher |
createCamelliaBlockCipher() |
protected TlsBlockCipher |
createCamelliaCipher(TlsContext context,
int cipherKeySize,
int macAlgorithm) |
protected BlockCipher |
createCamelliaEngine() |
protected TlsCipher |
createChaCha20Poly1305(TlsContext context) |
protected TlsAEADCipher |
createCipher_AES_CCM(TlsContext context,
int cipherKeySize,
int macSize) |
protected TlsAEADCipher |
createCipher_AES_GCM(TlsContext context,
int cipherKeySize,
int macSize) |
protected TlsAEADCipher |
createCipher_Camellia_GCM(TlsContext context,
int cipherKeySize,
int macSize) |
TlsCipher |
createCipher(TlsContext context,
int encryptionAlgorithm,
int macAlgorithm)
See enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument values
|
protected BlockCipher |
createDESedeBlockCipher() |
protected TlsBlockCipher |
createDESedeCipher(TlsContext context,
int macAlgorithm) |
protected Digest |
createHMACDigest(int macAlgorithm) |
protected TlsNullCipher |
createNullCipher(TlsContext context,
int macAlgorithm) |
protected TlsStreamCipher |
createRC4Cipher(TlsContext context,
int cipherKeySize,
int macAlgorithm) |
protected StreamCipher |
createRC4StreamCipher() |
protected TlsStreamCipher |
createSalsa20Cipher(TlsContext context,
int rounds,
int cipherKeySize,
int macAlgorithm) |
protected StreamCipher |
createSalsa20StreamCipher(int rounds) |
protected BlockCipher |
createSEEDBlockCipher() |
protected TlsBlockCipher |
createSEEDCipher(TlsContext context,
int macAlgorithm) |
public TlsCipher createCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm) throws java.io.IOException
TlsCipherFactory
createCipher
in interface TlsCipherFactory
createCipher
in class AbstractTlsCipherFactory
java.io.IOException
protected TlsBlockCipher createAESCipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws java.io.IOException
java.io.IOException
protected TlsBlockCipher createCamelliaCipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws java.io.IOException
java.io.IOException
protected TlsCipher createChaCha20Poly1305(TlsContext context) throws java.io.IOException
java.io.IOException
protected TlsAEADCipher createCipher_AES_CCM(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
java.io.IOException
protected TlsAEADCipher createCipher_AES_GCM(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
java.io.IOException
protected TlsAEADCipher createCipher_Camellia_GCM(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
java.io.IOException
protected TlsBlockCipher createDESedeCipher(TlsContext context, int macAlgorithm) throws java.io.IOException
java.io.IOException
protected TlsNullCipher createNullCipher(TlsContext context, int macAlgorithm) throws java.io.IOException
java.io.IOException
protected TlsStreamCipher createRC4Cipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws java.io.IOException
java.io.IOException
protected TlsStreamCipher createSalsa20Cipher(TlsContext context, int rounds, int cipherKeySize, int macAlgorithm) throws java.io.IOException
java.io.IOException
protected TlsBlockCipher createSEEDCipher(TlsContext context, int macAlgorithm) throws java.io.IOException
java.io.IOException
protected BlockCipher createAESEngine()
protected BlockCipher createCamelliaEngine()
protected BlockCipher createAESBlockCipher()
protected AEADBlockCipher createAEADBlockCipher_AES_CCM()
protected AEADBlockCipher createAEADBlockCipher_AES_GCM()
protected AEADBlockCipher createAEADBlockCipher_Camellia_GCM()
protected BlockCipher createCamelliaBlockCipher()
protected BlockCipher createDESedeBlockCipher()
protected StreamCipher createRC4StreamCipher()
protected StreamCipher createSalsa20StreamCipher(int rounds)
protected BlockCipher createSEEDBlockCipher()
protected Digest createHMACDigest(int macAlgorithm) throws java.io.IOException
java.io.IOException