ECDSAPublicKey class
Represents an ECDSA (Elliptic Curve Digital Signature Algorithm) public key.
Constructors
- ECDSAPublicKey(ProjectiveECCPoint generator, ProjectiveECCPoint point, {bool verify = true})
-
Creates an ECDSA public key with a generator and a point.
factory
Properties
- generator → ProjectiveECCPoint
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- point → ProjectiveECCPoint
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
[EncodeType encodeType = EncodeType.comprossed]) → List< int> -
toString(
) → String -
A string representation of this object.
inherited
-
verifies(
BigInt hash, ECDSASignature signature) → bool - Verifies an ECDSA signature against a hash value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override