ECSignature class

A Signature created with ECC.

Implemented types

Constructors

ECSignature(BigInt r, BigInt s)

Properties

hashCode int
The hash code for this object.
no setteroverride
r BigInt
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
s BigInt
final

Methods

isNormalized(ECDomainParameters curveParams) bool
Returns true if s is in lower-s form, false otherwise.
normalize(ECDomainParameters curveParams) ECSignature
'normalize' this signature by converting its s to lower-s form if necessary This is required to validate this signature with some libraries such as libsecp256k1 which enforce lower-s form for all signatures to combat ecdsa signature malleability
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override