Creates one or more TlsCertificates from the PEM-encoded data in file
.
If file
cannot be read or parsed, the function will return null and set
throws. If file
does not contain any PEM-encoded certificates, this will return an empty
list and not set throws.
file |
file containing PEM-encoded certificates to import |
a List containing TlsCertificate objects. You must free the list and its contents when you are done with it. |