Top | Description | Object Hierarchy |
WebKitCertificateInfo; WebKitCertificateInfo * webkit_certificate_info_copy (WebKitCertificateInfo *info
); void webkit_certificate_info_free (WebKitCertificateInfo *info
); GTlsCertificate * webkit_certificate_info_get_tls_certificate (WebKitCertificateInfo *info
); GTlsCertificateFlags webkit_certificate_info_get_tls_errors (WebKitCertificateInfo *info
);
When a client loads a page over HTTPS where there is an underlying TLS error WebKit will fire a "load-failed-with-tls-errors" signal with a WebKitCertificateInfo and the host of the failing URI.
To handle this signal asynchronously you should make a copy of the
WebKitCertificateInfo with webkit_certificate_info_copy()
.
WebKitCertificateInfo * webkit_certificate_info_copy (WebKitCertificateInfo *info
);
Make a copy of the WebKitCertificateInfo.
|
a WebKitCertificateInfo |
Returns : |
A copy of passed in WebKitCertificateInfo. [transfer full] |
Since 2.4
void webkit_certificate_info_free (WebKitCertificateInfo *info
);
Free the WebKitCertificateInfo.
|
a WebKitCertificateInfo |
Since 2.4
GTlsCertificate * webkit_certificate_info_get_tls_certificate
(WebKitCertificateInfo *info
);
Get the GTlsCertificate associated with this WebKitCertificateInfo.
|
a WebKitCertificateInfo |
Returns : |
The certificate of info . [transfer none]
|
Since 2.4
GTlsCertificateFlags webkit_certificate_info_get_tls_errors
(WebKitCertificateInfo *info
);
Get the GTlsCertificateFlags verification status associated with this WebKitCertificateInfo.
|
a WebKitCertificateInfo |
Returns : |
The verification status of info . |
Since 2.4