- verify(
msg: Msg,
sig: string | ArrayBuffer | Uint8Array<ArrayBufferLike>,
publicKey: string | CryptoKey,
charSize?: CharSize,
curve?: EccCurve,
hashAlg?: HashAlg,
): Promise<boolean> Parameters
- msg: Msg
- sig: string | ArrayBuffer | Uint8Array<ArrayBufferLike>
- publicKey: string | CryptoKey
- charSize: CharSize = DEFAULT_CHAR_SIZE
- curve: EccCurve = DEFAULT_ECC_CURVE
- hashAlg: HashAlg = DEFAULT_HASH_ALGORITHM
Returns Promise<boolean>
Verify the given signature.