SecpECDSASignature Constructor

Create a signature from r and s

Namespace:  SecretNET.Crypto.Secp256k1
Assembly:  SecretNET (in SecretNET.dll)

Syntax


public SecpECDSASignature(
	Scalar r,
	Scalar s,
	bool enforceCheck
)

Parameters

r
Type: SecretNET.Crypto.Secp256k1..::..Scalar
s
Type: SecretNET.Crypto.Secp256k1..::..Scalar
enforceCheck
Type: Boolean
If true, will check that r and s are not zero or overflow. If false, we assume the caller made the checks

Exceptions


ExceptionCondition
[ArgumentException]Thrown if enforceCheck is true and r or s is not valid