x509.toJSON()


X509 证书没有标准的 JSON 编码。toJSON() 方法返回包含 PEM 编码证书的字符串。

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