Creates a new TlsCertificate from the PEM-encoded data in data
.
If data
includes both a certificate and a private key, then the returned certificate will include the private key data as
well. (See the private_key_pem property for information about
supported formats.)
If data
includes multiple certificates, only the first one will be parsed.
data |
PEM-encoded certificate data |
length |
the length of |
the new certificate, or null if |