X509Certificate.toPem

string toPem() const @safe

Encodes the certificate to PEM format.

Returns

The PEM-encoded certificate string.