#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto
{
///
/// Base interface for operator factories that create stream-based digest calculators.
///
public interface IDigestFactory
{
/// The algorithm details object for calculators made by this factory.
object AlgorithmDetails { get ; }
/// Return the size of the digest associated with this factory.
/// The length of the digest produced by this calculators from this factory in bytes.
int DigestLength { get; }
///
/// Create a stream calculator for the digest associated with this factory. The stream
/// calculator is used for the actual operation of entering the data to be digested
/// and producing the digest block.
///
/// A calculator producing an IBlockResult with the final digest in it.
IStreamCalculator CreateCalculator();
}
}
#pragma warning restore
#endif