InfGtk.CertificateDialog

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin Gtk.Window Gtk.Window Gtk.Bin->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Dialog Gtk.Dialog InfGtk.CertificateDialog InfGtk.CertificateDialog Gtk.Dialog->InfGtk.CertificateDialog Gtk.Widget->Gtk.Container Gtk.Window->Gtk.Dialog

Subclasses:

None

Methods

Inherited:

Gtk.Dialog (14), Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new (parent, dialog_flags, verify_flags, hostname, certificate_chain, pinned_certificate)

Virtual Methods

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

certificate-chain

Infinity.CertificateChain

r/w

The certificate chain to show in the dialog

hostname

str

r/w

Host name of the server from which the certificate is

pinned-certificate

int

r/w

The certificate that we had pinned for this host

verify-flags

Infinity.CertificateVerifyFlags

r/w

What warnings about the certificate to display

Style Properties

Inherited:

Gtk.Dialog (4), Gtk.Window (2), Gtk.Widget (17)

Signals

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.Dialog

r

Class Details

class InfGtk.CertificateDialog(*args, **kwargs)
Bases:

Gtk.Dialog

Abstract:

No

Structure:

InfGtk.CertificateDialogClass

InfGtk.CertificateDialog is an opaque data type. You should only access it via the public API functions.

classmethod new(parent, dialog_flags, verify_flags, hostname, certificate_chain, pinned_certificate)
Parameters:
Returns:

A new InfGtk.CertificateDialog.

Return type:

InfGtk.CertificateDialog

Creates a new InfGtk.CertificateDialog. A InfGtk.CertificateDialog shows a warning about a server’s certificate to a user, for example when the issuer is not trusted or the hostname does not match what the certificate was issued to.

Property Details

InfGtk.CertificateDialog.props.certificate_chain
Name:

certificate-chain

Type:

Infinity.CertificateChain

Default Value:

None

Flags:

READABLE, WRITABLE

The certificate chain to show in the dialog

InfGtk.CertificateDialog.props.hostname
Name:

hostname

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Host name of the server from which the certificate is

InfGtk.CertificateDialog.props.pinned_certificate
Name:

pinned-certificate

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE

The certificate that we had pinned for this host

InfGtk.CertificateDialog.props.verify_flags
Name:

verify-flags

Type:

Infinity.CertificateVerifyFlags

Default Value:

0

Flags:

READABLE, WRITABLE

What warnings about the certificate to display