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