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
TlsCipherFactory
createCipher
in interface TlsCipherFactory
IOException
protected TlsCipher createAESCipher(TlsClientContext context, int cipherKeySize, int digestAlgorithm) throws IOException
IOException
protected TlsCipher createDESedeCipher(TlsClientContext context, int cipherKeySize, int digestAlgorithm) throws IOException
IOException
protected BlockCipher createAESBlockCipher()
protected BlockCipher createDESedeBlockCipher()
protected Digest createDigest(int digestAlgorithm) throws IOException
IOException
Copyright © 2015. All rights reserved.