Skip to main content
X509Certificate.prototype.verify - node__crypto.d.ts - Node documentation
method X509Certificate.prototype.verify

Usage in Deno

```typescript import { X509Certificate } from "node:node__crypto.d.ts"; ```
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