X509Certificate.prototype.toLegacyObject - Node documentation
method X509Certificate.prototype.toLegacyObject

Usage

import { X509Certificate } from "node:crypto";

Returns information about this certificate using the legacy certificate object encoding.

Return Type