Oslo

RSASSAPSS.sign()

Signs data with a private key and returns the signature. See RSASSAPSS for an example.

Definition

function sign(
	privateKey: ArrayBuffer | TypedArray,
	data: ArrayBuffer | TypedArray
): Promise<ArrayBuffer>;

Parameters

  • privateKey: Private key in PKCS#8 format
  • data: Data to sign