Skip to main content
X509Certificate.prototype.toLegacyObject - crypto - Node documentation
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.

Return Type

Back to top