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

Org.BouncyCastle.Tls.Crypto.TlsCryptoUtilities

public abstract class TlsCryptoUtilities
namespace Org.BouncyCastle.Tls.Crypto { public abstract class TlsCryptoUtilities { public static int GetHash(short hashAlgorithm); public static int GetHashForHmac(int macAlgorithm); public static int GetHashForPrf(int prfAlgorithm); public static int GetHashInternalSize(int cryptoHashAlgorithm); public static int GetHashOutputSize(int cryptoHashAlgorithm); public static DerObjectIdentifier GetOidForHash(int cryptoHashAlgorithm); public static int GetSignature(short signatureAlgorithm); public static TlsSecret HkdfExpandLabel(TlsSecret secret, int cryptoHashAlgorithm, string label, byte[] context, int length); protected TlsCryptoUtilities(); } }