verifySignature
Given a public CryptoKey, some
SignatureBytes, and a Uint8Array of data, this method will return true if the
signature was produced by signing the data using the private key associated with the public key,
and false otherwise.
Parameters
| Parameter | Type |
|---|---|
key | CryptoKey |
signature | SignatureBytes |
data | ReadonlyUint8Array |
Returns
Promise<boolean>