Optionaled25519Optionalsecp256k1Returns a string representation of the public key.
The string representation of the public key.
Verifies a message signature using the public key.
The message to be verified.
The signature to be verified.
true if the signature is valid, otherwise false.
StaticfromStaticfromCreates a PublicKey instance from an encoded key string.
The encoded key string.
The PublicKey instance created from the encoded key string.
PublicKey representation that has type and bytes of the key.