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(). Since 2.28
file containing a PEM-encoded certificate to import
file containing a PEM-encoded private key to import
GException on failure. ConstructionException GTK+ fails to create the object.
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(). Since 2.28