public class DefaultTlsCipherFactory extends AbstractTlsCipherFactory
Constructor and Description |
---|
DefaultTlsCipherFactory() |
Modifier and Type | Method and Description |
---|---|
protected AEADBlockCipher |
createAEADBlockCipher_AES_GCM() |
protected BlockCipher |
createAESBlockCipher() |
protected TlsBlockCipher |
createAESCipher(TlsContext context,
int cipherKeySize,
int macAlgorithm) |
protected BlockCipher |
createAESEngine() |
protected TlsAEADCipher |
createCipher_AES_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 Digest |
createHMACDigest(int macAlgorithm) |
protected TlsNullCipher |
createNullCipher(TlsContext context,
int macAlgorithm) |
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 TlsAEADCipher createCipher_AES_GCM(TlsContext context, int cipherKeySize, int macSize) throws IOException
IOException
protected TlsNullCipher createNullCipher(TlsContext context, int macAlgorithm) throws IOException
IOException
protected BlockCipher createAESEngine()
protected BlockCipher createAESBlockCipher()
protected AEADBlockCipher createAEADBlockCipher_AES_GCM()
protected Digest createHMACDigest(int macAlgorithm) throws IOException
IOException