Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/internal/crypto/sig.ts>Verify

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Verify
extends Writable
import { Verify } from "https://deno.land/std@0.172.0/node/internal/crypto/sig.ts";

Constructors

new
Verify(algorithm: string, _options?: WritableOptions)

Methods

update(data: BinaryLike): this
update(data: string, inputEncoding: Encoding): this
verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: ArrayBufferView): boolean
verify(
signature: string,
signatureEncoding?: BinaryToTextEncoding,
): boolean