ECDSAVerifyKey class
The ECDSAVerifyKey class represents a key for ECDSA (Elliptic Curve Digital Signature Algorithm) verification. It encapsulates the public key and provides a method for verifying ECDSA signatures against a given digest.
Constructors
- ECDSAVerifyKey(ECDSAPublicKey publicKey)
- Constructs an ECDSAVerifyKey instance with the given public key.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey → ECDSAPublicKey
-
The ECDSA public key associated with this verification key.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
ECDSASignature signature, List< int> digest) → bool - Verifies a given ECDSA signature against a digest using the associated public key.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited