The hash/digest algorithm to use.
The private key to sign the message with.
The payload to be signed, which is a readable stream.
Optional
opts: IRsaOptionsThe options for signing, including the passphrase of the private key and the padding algorithm.
Return a Promise
that resolves to a Buffer
containing the signature of the payload.
Sign a message inside a stream with the specified hash/digest algorithm.