Org.BouncyCastle.Tls.Crypto.Impl.BC.BcTlsCrypto
namespace Org.BouncyCastle.Tls.Crypto.Impl.BC
{
public class BcTlsCrypto : AbstractTlsCrypto
{
public BcTlsCrypto();
public BcTlsCrypto(SecureRandom entropySource);
public virtual IDigest CloneDigest(int cryptoHashAlgorithm, IDigest digest);
public virtual IDigest CreateDigest(int cryptoHashAlgorithm);
protected virtual IBlockCipher CreateBlockCipher(int encryptionAlgorithm);
protected virtual IBlockCipher CreateCbcBlockCipher(IBlockCipher blockCipher);
protected virtual IBlockCipher CreateCbcBlockCipher(int encryptionAlgorithm);
protected virtual TlsCipher CreateChaCha20Poly1305(TlsCryptoParameters cryptoParams);
protected virtual TlsAeadCipher CreateCipher_Aes_Ccm(TlsCryptoParameters cryptoParams, int cipherKeySize, int macSize);
protected virtual TlsAeadCipher CreateCipher_Aes_Gcm(TlsCryptoParameters cryptoParams, int cipherKeySize, int macSize);
protected virtual TlsAeadCipher CreateCipher_Aria_Gcm(TlsCryptoParameters cryptoParams, int cipherKeySize, int macSize);
protected virtual TlsAeadCipher CreateCipher_Camellia_Gcm(TlsCryptoParameters cryptoParams, int cipherKeySize, int macSize);
protected virtual TlsCipher CreateCipher_Cbc(TlsCryptoParameters cryptoParams, int encryptionAlgorithm, int cipherKeySize, int macAlgorithm);
protected virtual TlsAeadCipher CreateCipher_SM4_Ccm(TlsCryptoParameters cryptoParams);
protected virtual TlsAeadCipher CreateCipher_SM4_Gcm(TlsCryptoParameters cryptoParams);
protected virtual Tls13NullCipher Create13NullCipher(TlsCryptoParameters cryptoParams, int macAlgorithm);
protected virtual TlsNullCipher CreateNullCipher(TlsCryptoParameters cryptoParams, int macAlgorithm);
protected virtual IBlockCipher CreateAesEngine();
protected virtual IBlockCipher CreateAriaEngine();
protected virtual IBlockCipher CreateCamelliaEngine();
protected virtual IBlockCipher CreateDesEdeEngine();
protected virtual IBlockCipher CreateSeedEngine();
protected virtual IBlockCipher CreateSM4Engine();
protected virtual CcmBlockCipher CreateCcmMode(IBlockCipher engine);
protected virtual IAeadCipher CreateGcmMode(IBlockCipher engine);
protected virtual CcmBlockCipher CreateAeadCipher_Aes_Ccm();
protected virtual IAeadCipher CreateAeadCipher_Aes_Gcm();
protected virtual IAeadCipher CreateAeadCipher_Aria_Gcm();
protected virtual IAeadCipher CreateAeadCipher_Camellia_Gcm();
protected virtual CcmBlockCipher CreateAeadCipher_SM4_Ccm();
protected virtual IAeadCipher CreateAeadCipher_SM4_Gcm();
protected virtual TlsHmac CreateHmac_Ssl(int macAlgorithm);
protected virtual TlsHmac CreateMac(TlsCryptoParameters cryptoParams, int macAlgorithm);
}
}