Skip to main content
X509Certificate.prototype.toString - crypto - Node documentation
method X509Certificate.prototype.toString

Usage in Deno

import { X509Certificate } from "node:crypto";
X509Certificate.prototype.toString(): string

Returns the PEM-encoded certificate.

Return Type

string