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

Org.BouncyCastle.Tls.DeferredHash

Buffers input until the hash algorithm is determined.
namespace Org.BouncyCastle.Tls { internal sealed class DeferredHash : TlsHandshakeHash, TlsHash { public void CopyBufferTo(Stream output); public void ForceBuffering(); public void NotifyPrfDetermined(); public void TrackHashAlgorithm(int cryptoHashAlgorithm); public void SealHashAlgorithms(); public void StopTracking(); public TlsHash ForkPrfHash(); public byte[] GetFinalHash(int cryptoHashAlgorithm); public void Update(byte[] input, int inOff, int len); public byte[] CalculateHash(); public TlsHash CloneHash(); public void Reset(); } }