<PackageReference Include="BouncyCastle.Cryptography" Version="2.4.0" />

BcTlsCrypto

public BcTlsCrypto()

public BcTlsCrypto(SecureRandom entropySource)

public virtual IDigest CloneDigest(int cryptoHashAlgorithm, IDigest digest)

protected virtual IBlockCipher CreateAesEngine()

protected virtual IBlockCipher CreateAriaEngine()

protected virtual IBlockCipher CreateBlockCipher(int encryptionAlgorithm)

protected virtual IBlockCipher CreateCamelliaEngine()

protected virtual IBlockCipher CreateCbcBlockCipher(IBlockCipher blockCipher)

protected virtual IBlockCipher CreateCbcBlockCipher(int encryptionAlgorithm)

protected virtual CcmBlockCipher CreateCcmMode(IBlockCipher engine)

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 IBlockCipher CreateDesEdeEngine()

public virtual IDigest CreateDigest(int cryptoHashAlgorithm)

protected virtual IAeadCipher CreateGcmMode(IBlockCipher engine)

protected virtual TlsHmac CreateHmac_Ssl(int macAlgorithm)

protected virtual TlsHmac CreateMac(TlsCryptoParameters cryptoParams, int macAlgorithm)

protected virtual TlsNullCipher CreateNullCipher(TlsCryptoParameters cryptoParams, int macAlgorithm)

protected virtual IBlockCipher CreateSeedEngine()

protected virtual IBlockCipher CreateSM4Engine()