The hash/digest algorithm to use.
The public key to verify the message with.
The payload to be verified, can be a Buffer
or a string
.
The signature of the payload to be verified, must be a Buffer
.
Optional
opts: IRsaOptionsThe options for verification, including the padding algorithm.
Return true if the signature is valid, otherwise false.
Verify a message with the specified hash/digest algorithm.