toVerifyKey method
Converts the Nist256p1Signer to a Nist256p1Verifier for verification purposes.
Implementation
Nist256p1Verifier toVerifyKey() {
return Nist256p1Verifier.fromKeyBytes(
_ecdsaSigningKey.privateKey.publicKey.toBytes(),
);
}
Converts the Nist256p1Signer to a Nist256p1Verifier for verification purposes.
Nist256p1Verifier toVerifyKey() {
return Nist256p1Verifier.fromKeyBytes(
_ecdsaSigningKey.privateKey.publicKey.toBytes(),
);
}