RSASSAPKCS1v1_5.sign()
Signs data with a private key and returns the signature. See RSASSAPKCS1v1_5
for an example.
Definition
function sign(
privateKey: ArrayBuffer | TypedArray,
data: ArrayBuffer | TypedArray
): Promise<ArrayBuffer>;
Parameters
privateKey
: Private key in PKCS#8 formatdata
: Data to sign