Class DefaultTlsCipherFactory
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Tls
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class DefaultTlsCipherFactory : AbstractTlsCipherFactory, TlsCipherFactory
- Inheritance
-
DefaultTlsCipherFactory
- Implements
-
- Inherited Members
-
Constructors
DefaultTlsCipherFactory()
public DefaultTlsCipherFactory()
Methods
CreateAESCipher(TlsContext, int, int)
protected virtual TlsBlockCipher CreateAESCipher(TlsContext context, int cipherKeySize, int macAlgorithm)
Parameters
context
TlsContext
cipherKeySize
int
macAlgorithm
int
Returns
- TlsBlockCipher
CreateAeadBlockCipher_Aes_Ccm()
protected virtual IAeadBlockCipher CreateAeadBlockCipher_Aes_Ccm()
Returns
- IAeadBlockCipher
CreateAeadBlockCipher_Aes_Gcm()
protected virtual IAeadBlockCipher CreateAeadBlockCipher_Aes_Gcm()
Returns
- IAeadBlockCipher
CreateAeadBlockCipher_Aes_Ocb()
protected virtual IAeadBlockCipher CreateAeadBlockCipher_Aes_Ocb()
Returns
- IAeadBlockCipher
CreateAeadBlockCipher_Camellia_Gcm()
protected virtual IAeadBlockCipher CreateAeadBlockCipher_Camellia_Gcm()
Returns
- IAeadBlockCipher
CreateAesBlockCipher()
protected virtual IBlockCipher CreateAesBlockCipher()
Returns
- IBlockCipher
CreateAesEngine()
protected virtual IBlockCipher CreateAesEngine()
Returns
- IBlockCipher
CreateCamelliaBlockCipher()
protected virtual IBlockCipher CreateCamelliaBlockCipher()
Returns
- IBlockCipher
CreateCamelliaCipher(TlsContext, int, int)
protected virtual TlsBlockCipher CreateCamelliaCipher(TlsContext context, int cipherKeySize, int macAlgorithm)
Parameters
context
TlsContext
cipherKeySize
int
macAlgorithm
int
Returns
- TlsBlockCipher
CreateCamelliaEngine()
protected virtual IBlockCipher CreateCamelliaEngine()
Returns
- IBlockCipher
CreateChaCha20Poly1305(TlsContext)
protected virtual TlsCipher CreateChaCha20Poly1305(TlsContext context)
Parameters
context
TlsContext
Returns
- TlsCipher
CreateCipher(TlsContext, int, int)
public override TlsCipher CreateCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm)
Parameters
context
TlsContext
encryptionAlgorithm
int
macAlgorithm
int
Returns
- TlsCipher
CreateCipher_Aes_Ccm(TlsContext, int, int)
protected virtual TlsAeadCipher CreateCipher_Aes_Ccm(TlsContext context, int cipherKeySize, int macSize)
Parameters
context
TlsContext
cipherKeySize
int
macSize
int
Returns
- TlsAeadCipher
CreateCipher_Aes_Gcm(TlsContext, int, int)
protected virtual TlsAeadCipher CreateCipher_Aes_Gcm(TlsContext context, int cipherKeySize, int macSize)
Parameters
context
TlsContext
cipherKeySize
int
macSize
int
Returns
- TlsAeadCipher
CreateCipher_Aes_Ocb(TlsContext, int, int)
protected virtual TlsAeadCipher CreateCipher_Aes_Ocb(TlsContext context, int cipherKeySize, int macSize)
Parameters
context
TlsContext
cipherKeySize
int
macSize
int
Returns
- TlsAeadCipher
CreateCipher_Camellia_Gcm(TlsContext, int, int)
protected virtual TlsAeadCipher CreateCipher_Camellia_Gcm(TlsContext context, int cipherKeySize, int macSize)
Parameters
context
TlsContext
cipherKeySize
int
macSize
int
Returns
- TlsAeadCipher
CreateDesEdeBlockCipher()
protected virtual IBlockCipher CreateDesEdeBlockCipher()
Returns
- IBlockCipher
CreateDesEdeCipher(TlsContext, int)
protected virtual TlsBlockCipher CreateDesEdeCipher(TlsContext context, int macAlgorithm)
Parameters
context
TlsContext
macAlgorithm
int
Returns
- TlsBlockCipher
CreateHMacDigest(int)
protected virtual IDigest CreateHMacDigest(int macAlgorithm)
Parameters
macAlgorithm
int
Returns
- IDigest
CreateNullCipher(TlsContext, int)
protected virtual TlsNullCipher CreateNullCipher(TlsContext context, int macAlgorithm)
Parameters
context
TlsContext
macAlgorithm
int
Returns
- TlsNullCipher
CreateRC4Cipher(TlsContext, int, int)
protected virtual TlsStreamCipher CreateRC4Cipher(TlsContext context, int cipherKeySize, int macAlgorithm)
Parameters
context
TlsContext
cipherKeySize
int
macAlgorithm
int
Returns
- TlsStreamCipher
CreateRC4StreamCipher()
protected virtual IStreamCipher CreateRC4StreamCipher()
Returns
- IStreamCipher
CreateSeedBlockCipher()
protected virtual IBlockCipher CreateSeedBlockCipher()
Returns
- IBlockCipher
CreateSeedCipher(TlsContext, int)
protected virtual TlsBlockCipher CreateSeedCipher(TlsContext context, int macAlgorithm)
Parameters
context
TlsContext
macAlgorithm
int
Returns
- TlsBlockCipher