createVerifier method
Creates a signature Verifier using the public key and the specified algorithm
Implementation
Verifier createVerifier(Identifier algorithm) {
if (publicKey == null) {
throw StateError('Need a public key to create a verifier.');
}
return publicKey!.createVerifier(algorithm);
}