SVSignature.fromECParams constructor

SVSignature.fromECParams(
  1. BigInt? _r,
  2. BigInt? _s
)

Construct a instance from the R and S components of an ECDSA signature.

r - The r component of the signature

s - The s component of the signature

Implementation

SVSignature.fromECParams(this._r, this._s) {
    _signature = ECSignature(_r! , _s!);
}