add all
This commit is contained in:
29
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/crypto/IDigestFactory.cs
vendored
Normal file
29
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/crypto/IDigestFactory.cs
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
|
||||
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Crypto
|
||||
{
|
||||
/// <summary>
|
||||
/// Base interface for operator factories that create stream-based digest calculators.
|
||||
/// </summary>
|
||||
public interface IDigestFactory
|
||||
{
|
||||
/// <summary>The algorithm details object for calculators made by this factory.</summary>
|
||||
object AlgorithmDetails { get ; }
|
||||
|
||||
/// <summary>Return the size of the digest associated with this factory.</summary>
|
||||
/// <returns>The length of the digest produced by this calculators from this factory in bytes.</returns>
|
||||
int DigestLength { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
/// <returns>A calculator producing an IBlockResult with the final digest in it.</returns>
|
||||
IStreamCalculator<IBlockResult> CreateCalculator();
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user