The digest/hash algorithm to be used.
The private key to sign the data.
The input stream to be signed.
Optional
opts: IEcdsaOptionsThe options for signing.
Return a promise that resolves to a Buffer
that contains the signature of the input stream.
Sign the input stream.