X509Certificate.prototype.verify - Node documentation
method X509Certificate.prototype.verify

Usage in Deno

import { X509Certificate } from "node:crypto";
X509Certificate.prototype.verify(publicKey: KeyObject): boolean

Verifies that this certificate was signed by the given public key. Does not perform any other validation checks on the certificate.

Parameters

publicKey: KeyObject

A public key.

Return Type

boolean