Generate a signature.
Signing algorithm and parameters
A PEM-encoded private key
Input data that will be signed
Will throw an error if the key is not compatible with the signing algorithm or if an unknown algorithm is used.
Generate a signature.