public class

DefaultTlsCipherFactory

extends Object
implements TlsCipherFactory
java.lang.Object
   ↳ org.bouncycastle.crypto.tls.DefaultTlsCipherFactory

Summary

Public Constructors
DefaultTlsCipherFactory()
Public Methods
TlsCipher createCipher(TlsClientContext context, int encryptionAlgorithm, int digestAlgorithm)
See enumeration classes EncryptionAlgorithm and DigestAlgorithm for appropriate argument values
Protected Methods
BlockCipher createAESBlockCipher()
TlsCipher createAESCipher(TlsClientContext context, int cipherKeySize, int digestAlgorithm)
BlockCipher createDESedeBlockCipher()
TlsCipher createDESedeCipher(TlsClientContext context, int cipherKeySize, int digestAlgorithm)
Digest createDigest(int digestAlgorithm)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.crypto.tls.TlsCipherFactory

Public Constructors

public DefaultTlsCipherFactory ()

Public Methods

public TlsCipher createCipher (TlsClientContext context, int encryptionAlgorithm, int digestAlgorithm)

See enumeration classes EncryptionAlgorithm and DigestAlgorithm for appropriate argument values

Throws
IOException

Protected Methods

protected BlockCipher createAESBlockCipher ()

protected TlsCipher createAESCipher (TlsClientContext context, int cipherKeySize, int digestAlgorithm)

Throws
IOException

protected BlockCipher createDESedeBlockCipher ()

protected TlsCipher createDESedeCipher (TlsClientContext context, int cipherKeySize, int digestAlgorithm)

Throws
IOException

protected Digest createDigest (int digestAlgorithm)

Throws
IOException