15 lines
301 B
C#
15 lines
301 B
C#
using Org.BouncyCastle.Math;
|
|
|
|
namespace Org.BouncyCastle.Crypto;
|
|
|
|
public interface IDsa
|
|
{
|
|
string AlgorithmName { get; }
|
|
|
|
void Init(bool forSigning, ICipherParameters parameters);
|
|
|
|
BigInteger[] GenerateSignature(byte[] message);
|
|
|
|
bool VerifySignature(byte[] message, BigInteger r, BigInteger s);
|
|
}
|