Credentials class abstract

Anything that can sign payloads with a private key.

Implementers

Constructors

Credentials()

Properties

hashCode int
The hash code for this object.
no setterinherited
isolateSafe bool
Whether these Credentials are safe to be copied to another isolate and can operate there. If this getter returns true, the client might chose to perform the expensive signing operations on another isolate.
no setter
proposition Proposition
The proposition that matches the evidence which is contained in the given credential
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

extractAddress() Future<ToplAddress>
Loads the ethereum address specified by these credentials.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signToSignature(Uint8List payload) Future<SignatureBase>
Signs the payload with a private key and returns the obtained signature.
toString() String
A string representation of this object.
inherited

Operators

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