Skip to main content
method X509Certificate.prototype.verify
X509Certificate.prototype.verify(publicKey: KeyObject): boolean
Deprecated

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
Back to top