Optional
ed25519Optional
secp256k1Returns 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
.
Static
fromStatic
fromCreates 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.