method X509Certificate.prototype.toLegacyObject
Usage
import { X509Certificate } from "node:crypto";
Returns information about this certificate using the legacy certificate object encoding.
import { X509Certificate } from "node:crypto";
Returns information about this certificate using the legacy certificate object encoding.