InfGtkCertificateDialog

InfGtkCertificateDialog

Functions

Properties

InfCertificateChain * certificate-chain Read / Write
InfCertificateDialogFlags certificate-flags Read / Write
gchar * hostname Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkDialog
                            ╰── InfGtkCertificateDialog

Implemented Interfaces

InfGtkCertificateDialog implements AtkImplementorIface and GtkBuildable.

Description

Functions

inf_gtk_certificate_dialog_new ()

InfGtkCertificateDialog *
inf_gtk_certificate_dialog_new (GtkWindow *parent,
                                GtkDialogFlags dialog_flags,
                                InfGtkCertificateDialogFlags certificate_flags,
                                const gchar *hostname,
                                InfCertificateChain *certificate_chain);

Creates a new InfGtkCertificateDialog. A InfGtkCertificateDialog shows warnings about a server's certificate to a user, for example when the issuer is not trusted or the certificate is expired.

Parameters

parent

Parent GtkWindow of the dialog.

 

dialog_flags

Flags for the dialog, see GtkDialogFlags.

 

certificate_flags

What certificate warnings to show, see InfGtkCertificateDialogFlags.

 

hostname

The host name of the server that provides the certificate.

 

certificate_chain

The certificate chain provided by the server.

 

Returns

A New InfGtkCertificateDialog.

Types and Values

struct InfGtkCertificateDialog

struct InfGtkCertificateDialog;


enum InfGtkCertificateDialogFlags

Members

INF_GTK_CERTIFICATE_DIALOG_CERT_NOT_ACTIVATED

   

INF_GTK_CERTIFICATE_DIALOG_CERT_EXPIRED

   

INF_GTK_CERTIFICATE_DIALOG_CERT_HOSTNAME_MISMATCH

   

INF_GTK_CERTIFICATE_DIALOG_CERT_INVALID

   

INF_GTK_CERTIFICATE_DIALOG_CERT_ISSUER_NOT_TRUSTED

   

INF_GTK_CERTIFICATE_DIALOG_CERT_CHANGED

   

INF_GTK_CERTIFICATE_DIALOG_CERT_OLD_EXPIRED

   

Property Details

The “certificate-chain” property

  “certificate-chain”        InfCertificateChain *

The certificate chain to show in the dialog.

Flags: Read / Write


The “certificate-flags” property

  “certificate-flags”        InfCertificateDialogFlags

What warnings about the certificate to display.

Flags: Read / Write


The “hostname” property

  “hostname”                 gchar *

Host name of the server from which the certificate is.

Flags: Read / Write

Default value: NULL