blob: bb733818dfe7b049336a19a363707963462e447e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using System;
namespace Org.BouncyCastle.Crypto
{
/// <summary>
/// Base interface for operators that serve as stream-based signature calculators.
/// </summary>
public interface ISignatureCalculator
{
/// <summary>The algorithm details object for this calculator.</summary>
Object AlgorithmDetails { get ; }
/// <summary>
/// Create a stream calculator for this signature calculator. The stream
/// calculator is used for the actual operation of entering the data to be signed
/// and producing the signature block.
/// </summary>
/// <returns>A calculator producing an IBlockResult with a signature in it.</returns>
IStreamCalculator CreateCalculator();
}
}
|