public class DefaultTlsCipherFactory extends Object implements TlsCipherFactory
| Constructor and Description |
|---|
DefaultTlsCipherFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected BlockCipher |
createAESBlockCipher() |
protected TlsCipher |
createAESCipher(TlsClientContext context,
int cipherKeySize,
int digestAlgorithm) |
TlsCipher |
createCipher(TlsClientContext context,
int encryptionAlgorithm,
int digestAlgorithm)
See enumeration classes EncryptionAlgorithm and DigestAlgorithm for appropriate argument values
|
protected BlockCipher |
createDESedeBlockCipher() |
protected TlsCipher |
createDESedeCipher(TlsClientContext context,
int cipherKeySize,
int digestAlgorithm) |
protected Digest |
createDigest(int digestAlgorithm) |
public TlsCipher createCipher(TlsClientContext context, int encryptionAlgorithm, int digestAlgorithm) throws IOException
TlsCipherFactorycreateCipher in interface TlsCipherFactoryIOExceptionprotected TlsCipher createAESCipher(TlsClientContext context, int cipherKeySize, int digestAlgorithm) throws IOException
IOExceptionprotected TlsCipher createDESedeCipher(TlsClientContext context, int cipherKeySize, int digestAlgorithm) throws IOException
IOExceptionprotected BlockCipher createAESBlockCipher()
protected BlockCipher createDESedeBlockCipher()
protected Digest createDigest(int digestAlgorithm) throws IOException
IOExceptionCopyright © 2015. All rights reserved.