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

Org.BouncyCastle.Tls.Crypto.Impl.TlsImplUtilities

public abstract class TlsImplUtilities
Useful utility methods.
namespace Org.BouncyCastle.Tls.Crypto.Impl { public abstract class TlsImplUtilities { public static bool IsSsl(TlsCryptoParameters cryptoParams); public static bool IsTlsV10(ProtocolVersion version); public static bool IsTlsV10(TlsCryptoParameters cryptoParams); public static bool IsTlsV11(ProtocolVersion version); public static bool IsTlsV11(TlsCryptoParameters cryptoParams); public static bool IsTlsV12(ProtocolVersion version); public static bool IsTlsV12(TlsCryptoParameters cryptoParams); public static bool IsTlsV13(ProtocolVersion version); public static bool IsTlsV13(TlsCryptoParameters cryptoParams); public static byte[] CalculateKeyBlock(TlsCryptoParameters cryptoParams, int length); protected TlsImplUtilities(); } }