DartSignatureAlgorithmMixin mixin
Base class for pure Dart implementations of SignatureAlgorithm.
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keyPairType
→ KeyPairType<
KeyPairData, PublicKey> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
newKeyPair(
) → Future< KeyPair> -
Generates a new KeyPair for this algorithm.
inherited
-
newKeyPairFromSeed(
List< int> seed) → Future<KeyPair> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
List< int> input, {required KeyPair keyPair}) → Future<Signature> -
Calculates signature for the message.
override
-
signSync(
List< int> input, {required KeyPairData keyPairData}) → Signature -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
List< int> input, {required Signature signature}) → Future<bool> -
Verifies the signature.
override
-
verifySync(
List< int> input, {required Signature signature}) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited