toVerifyKey method

Nist256p1Verifier toVerifyKey()

Converts the Nist256p1Signer to a Nist256p1Verifier for verification purposes.

Implementation

Nist256p1Verifier toVerifyKey() {
  return Nist256p1Verifier.fromKeyBytes(
    _ecdsaSigningKey.privateKey.publicKey.toBytes(),
  );
}