EccSigningAlgo class
Data signing and verification for ECDSA - elliptic curve Uses sha256 hashing for data. Extend implementation for other hashing algorithm in the future.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- privateKey ← PrivateKey?
-
no getter
- 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
-
sign(
Uint8List data) → Uint8List - Signs the data using AtPrivateKey of AsymmetricKeyPair
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
Uint8List signedData, Uint8List signature, {String? publicKey}) → bool -
Verifies the data signature using AtPublicKey of AsymmetricKeyPair or the passed
publicKey
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited