FlutterEcdsa class

Ecdsa implemented with operating system APIs.

Inheritance
  • Object
  • DelegatingSignatureAlgorithm
  • DelegatingEcdsa
  • FlutterEcdsa

Constructors

FlutterEcdsa.p256(Ecdsa fallback)
FlutterEcdsa.p384(Ecdsa fallback)
FlutterEcdsa.p521(Ecdsa fallback)

Properties

algorithmName String
final
fallback → Ecdsa
final
hashAlgorithm → HashAlgorithm
Used hash algorithm.
no setterinherited
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
usePlugin bool
getter/setter pair

Methods

newKeyPair() Future<EcKeyPair>
Generates a new KeyPair for this algorithm.
override
newKeyPairFromSeed(List<int> bytes) Future<EcKeyPair>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportError(Object error, StackTrace stackTrace) → void
inherited
sign(List<int> data, {required KeyPair keyPair}) Future<Signature>
Calculates signature for the message.
override
toString() String
A string representation of this object.
inherited
verify(List<int> data, {required Signature signature}) Future<bool>
Verifies the signature.
override

Operators

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