Skip to main content
Module

std/node/crypto.ts>Verify

Deno standard library
Go to Latest
class Verify
extends Writable
Re-export
import { Verify } from "https://deno.land/std@0.145.0/node/crypto.ts";

Constructors

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

Methods

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