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
TlsCipherFactorycreateCipher in interface TlsCipherFactorycreateCipher in class AbstractTlsCipherFactoryjava.io.IOExceptionprotected TlsBlockCipher createAESCipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws java.io.IOException
java.io.IOExceptionprotected TlsBlockCipher createCamelliaCipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws java.io.IOException
java.io.IOExceptionprotected TlsCipher createChaCha20Poly1305(TlsContext context) throws java.io.IOException
java.io.IOExceptionprotected TlsAEADCipher createCipher_AES_CCM(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
java.io.IOExceptionprotected TlsAEADCipher createCipher_AES_GCM(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
java.io.IOExceptionprotected TlsAEADCipher createCipher_Camellia_GCM(TlsContext context, int cipherKeySize, int macSize) throws java.io.IOException
java.io.IOExceptionprotected TlsBlockCipher createDESedeCipher(TlsContext context, int macAlgorithm) throws java.io.IOException
java.io.IOExceptionprotected TlsNullCipher createNullCipher(TlsContext context, int macAlgorithm) throws java.io.IOException
java.io.IOExceptionprotected TlsStreamCipher createRC4Cipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws java.io.IOException
java.io.IOExceptionprotected TlsStreamCipher createSalsa20Cipher(TlsContext context, int rounds, int cipherKeySize, int macAlgorithm) throws java.io.IOException
java.io.IOExceptionprotected TlsBlockCipher createSEEDCipher(TlsContext context, int macAlgorithm) throws java.io.IOException
java.io.IOExceptionprotected 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