PublicKey representation that has type and bytes of the key.
Optional
Returns 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.
true
false
Static
Creates a PublicKey instance from a string or an existing PublicKey instance.
The string or PublicKey instance to create a PublicKey from.
The PublicKey instance.
Creates 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.