Extends
BaseCryptoClass
Constructors
new VerificationContext()
new VerificationContext(): VerificationContext
Returns
VerificationContextMethods
verify()
verify(message:Verify that the provided signature is valid for the given message. The method handles the hashing of the message internally, so the caller should provide the full, unhashed message data.ArrayBuffer, signature:ArrayBuffer):Promise<boolean>
Parameters
message
ArrayBuffer
The original message that was signed.
signature
ArrayBuffer
The digital signature to verify.
Throws
SecurityErrorIf the verification operation fails.
Returns
Promise<boolean>
Promise<boolean> A promise that resolves to true if the
signature is valid, false otherwise.
