Signature class

Signature contains the payload that was signed, the public keys of the keypairs used to produce the signature, the signature (encoded in hex), and the SignatureType. PublicKey is often times not known during construction of the signing payloads but may be needed to combine signatures properly.

Constructors

Signature(SigningPayload signing_payload, PublicKey public_key, String signature_type, String hex_bytes)
Signature.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hex_bytes String
getter/setter pair
public_key PublicKey
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature_type String
export type SignatureType = | "ecdsa" | "ecdsa_recovery" | "ed25519" | "schnorr_1" | "schnorr_poseidon";
getter/setter pair
signing_payload SigningPayload
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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