19 lines
328 B
C#
19 lines
328 B
C#
namespace Org.BouncyCastle.Crypto;
|
|
|
|
public interface ISigner
|
|
{
|
|
string AlgorithmName { get; }
|
|
|
|
void Init(bool forSigning, ICipherParameters parameters);
|
|
|
|
void Update(byte input);
|
|
|
|
void BlockUpdate(byte[] input, int inOff, int length);
|
|
|
|
byte[] GenerateSignature();
|
|
|
|
bool VerifySignature(byte[] signature);
|
|
|
|
void Reset();
|
|
}
|