Mverify
Bun

method

crypto.X509Certificate.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.

@param publicKey

A public key.