CosmosNist256p1Verifier class
CosmosNist256p1Verifier class for cryptographic operations, including signature verification.
The CosmosNist256p1Verifier class allows the verification of Cosmos signatures and public keys. It uses the ECDSA (Elliptic Curve Digital Signature Algorithm) for cryptographic operations on the secp256r1 elliptic curve.
Constructors
-
CosmosNist256p1Verifier.fromKeyBytes(List<
int> keyBytes) -
Factory method to create a CosmosNist256p1Verifier from a byte representation of a public key.
factory
Properties
- edsaVerifyKey → ECDSAVerifyKey
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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(
List< int> message, List<int> signature) → bool - Verifies a Cosmos signature against a message digest.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited