TlsCipherFactory
public class DefaultTlsCipherFactory extends AbstractTlsCipherFactory
Constructor | Description |
---|---|
DefaultTlsCipherFactory() |
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_AES_OCB(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 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_AES_OCB()
protected AEADBlockCipher createAEADBlockCipher_Camellia_GCM()
protected BlockCipher createCamelliaBlockCipher()
protected BlockCipher createDESedeBlockCipher()
protected StreamCipher createRC4StreamCipher()
protected BlockCipher createSEEDBlockCipher()
protected Digest createHMACDigest(int macAlgorithm) throws java.io.IOException
java.io.IOException