#GList containing #GTlsCertificate objects. You must free the list and its contents when you are done with it.
TlsCertificate.listNewFromFile
gio.tls_certificate.TlsCertificate[] listNewFromFile(string file)Creates one or more #GTlsCertificates from the PEM-encoded data in file. If file cannot be read or parsed, the function will return null and set error. If file does not contain any PEM-encoded certificates, this will return an empty list and not set error.
Parameters
file | file containing PEM-encoded certificates to import |
Returns
a
Throws
[ErrorWrap]