X509Certificate.prototype.toString - Node documentation
method X509Certificate.prototype.toString

Usage

import { X509Certificate } from "node:crypto";

Returns the PEM-encoded certificate.

Return Type

string