public class DefaultTlsCipherFactory extends AbstractTlsCipherFactory
Constructor and Description |
---|
DefaultTlsCipherFactory() |
public TlsCipher createCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm) throws IOException
TlsCipherFactory
createCipher
in interface TlsCipherFactory
createCipher
in class AbstractTlsCipherFactory
IOException
protected TlsBlockCipher createAESCipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws IOException
IOException
protected TlsBlockCipher createCamelliaCipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws IOException
IOException
protected TlsCipher createChaCha20Poly1305(TlsContext context) throws IOException
IOException
protected TlsAEADCipher createCipher_AES_CCM(TlsContext context, int cipherKeySize, int macSize) throws IOException
IOException
protected TlsAEADCipher createCipher_AES_GCM(TlsContext context, int cipherKeySize, int macSize) throws IOException
IOException
protected TlsAEADCipher createCipher_AES_OCB(TlsContext context, int cipherKeySize, int macSize) throws IOException
IOException
protected TlsAEADCipher createCipher_Camellia_GCM(TlsContext context, int cipherKeySize, int macSize) throws IOException
IOException
protected TlsBlockCipher createDESedeCipher(TlsContext context, int macAlgorithm) throws IOException
IOException
protected TlsNullCipher createNullCipher(TlsContext context, int macAlgorithm) throws IOException
IOException
protected TlsStreamCipher createRC4Cipher(TlsContext context, int cipherKeySize, int macAlgorithm) throws IOException
IOException
protected TlsBlockCipher createSEEDCipher(TlsContext context, int macAlgorithm) throws IOException
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 IOException
IOException
Copyright © 2020 BouncyCastle.org. All rights reserved.