Skip to main content
method X509Certificate.prototype.toJSON
X509Certificate.prototype.toJSON(): string
Deprecated

There is no standard JSON encoding for X509 certificates. ThetoJSON() method returns a string containing the PEM encoded certificate.

Return Type

string
Back to top