#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto
{
/// Interface for message digest, or hash, services.
public interface TlsHash
{
/// Update the hash with the passed in input.
/// input array containing the data.
/// offset into the input array the input starts at.
/// the length of the input data.
void Update(byte[] input, int inOff, int length);
/// Return calculated hash for any input passed in.
/// the hash value.
byte[] CalculateHash();
/// Return a clone of this hash object representing its current state.
/// a clone of the current hash.
TlsHash CloneHash();
/// Reset the hash underlying this service.
void Reset();
}
}
#pragma warning restore
#endif