Creates a #GTlsCertificate from the PEM-encoded data in @cert_file and @key_file. If either file cannot be read or parsed, the function will return %NULL and set @error. Otherwise, this behaves like g_tls_certificate_new_from_pem().
file containing a PEM-encoded certificate to import
file containing a PEM-encoded private key to import
Return: the new certificate, or %NULL on error
GException on failure. ConstructionException GTK+ fails to create the object.
2.28
See Implementation
Creates a #GTlsCertificate from the PEM-encoded data in @cert_file and @key_file. If either file cannot be read or parsed, the function will return %NULL and set @error. Otherwise, this behaves like g_tls_certificate_new_from_pem().