WebKitCertificateInfo

WebKitCertificateInfo — Boxed type to encapsulate TLS certificate information

Synopsis

                    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);

Object Hierarchy

  GBoxed
   +----WebKitCertificateInfo

Description

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().

Details

WebKitCertificateInfo

typedef struct _WebKitCertificateInfo WebKitCertificateInfo;


webkit_certificate_info_copy ()

WebKitCertificateInfo * webkit_certificate_info_copy    (WebKitCertificateInfo *info);

Make a copy of the WebKitCertificateInfo.

info :

a WebKitCertificateInfo

Returns :

A copy of passed in WebKitCertificateInfo. [transfer full]

Since 2.4


webkit_certificate_info_free ()

void                webkit_certificate_info_free        (WebKitCertificateInfo *info);

Free the WebKitCertificateInfo.

Since 2.4


webkit_certificate_info_get_tls_certificate ()

GTlsCertificate *   webkit_certificate_info_get_tls_certificate
                                                        (WebKitCertificateInfo *info);

Get the GTlsCertificate associated with this WebKitCertificateInfo.

info :

a WebKitCertificateInfo

Returns :

The certificate of info. [transfer none]

Since 2.4


webkit_certificate_info_get_tls_errors ()

GTlsCertificateFlags webkit_certificate_info_get_tls_errors
                                                        (WebKitCertificateInfo *info);

Get the GTlsCertificateFlags verification status associated with this WebKitCertificateInfo.

info :

a WebKitCertificateInfo

Returns :

The verification status of info.

Since 2.4

See Also

WebKitWebView, WebKitWebContext