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