gcr-certificate-widget

gcr-certificate-widget

Functions

Properties

GckAttributes * attributes Read / Write
GcrCertificate * certificate Read / Write
GckAttributes * attributes Read / Write
GcrCertificate * certificate Read / Write
gchar * label Read / Write

Types and Values

Object Hierarchy

    GObject
    ├── GInitiallyUnowned
       ╰── GtkWidget
           ╰── GtkContainer
               ╰── GtkBin
                   ╰── GcrCertificateWidget
    ╰── GcrCertificateRenderer

Implemented Interfaces

GcrCertificateWidget implements AtkImplementorIface and GtkBuildable.

GcrCertificateRenderer implements GcrRenderer, GcrComparableIface and GcrCertificate.

Description

Functions

GCR_CERTIFICATE_COLUMNS

#define GCR_CERTIFICATE_COLUMNS                 (gcr_certificate_get_columns ())

The columns that are valid for a certificate. This is to be used with the GcrTreeSelector or GcrCollectionModel.

This is an array of GcrColumn, owned by the gcr library.


gcr_certificate_widget_new ()

GcrCertificateWidget *
gcr_certificate_widget_new (GcrCertificate *certificate);

Returns


gcr_certificate_widget_get_certificate ()

GcrCertificate *
gcr_certificate_widget_get_certificate
                               (GcrCertificateWidget *self);

Returns


gcr_certificate_widget_set_certificate ()

void
gcr_certificate_widget_set_certificate
                               (GcrCertificateWidget *self,
                                GcrCertificate *certificate);


gcr_certificate_renderer_new ()

GcrCertificateRenderer *
gcr_certificate_renderer_new (GcrCertificate *certificate);

Returns


gcr_certificate_renderer_new_for_attributes ()

GcrCertificateRenderer *
gcr_certificate_renderer_new_for_attributes
                               (const gchar *label,
                                struct _GckAttributes *attrs);

Returns


gcr_certificate_renderer_get_certificate ()

GcrCertificate *
gcr_certificate_renderer_get_certificate
                               (GcrCertificateRenderer *self);

Returns


gcr_certificate_renderer_set_certificate ()

void
gcr_certificate_renderer_set_certificate
                               (GcrCertificateRenderer *self,
                                GcrCertificate *certificate);

Types and Values

struct GcrCertificateWidget

struct GcrCertificateWidget;


struct GcrCertificateWidgetClass

struct GcrCertificateWidgetClass {
};


struct GcrCertificateRenderer

struct GcrCertificateRenderer;


struct GcrCertificateRendererClass

struct GcrCertificateRendererClass {
	GObjectClass parent_class;
};

Property Details

The “attributes” property

  “attributes”               GckAttributes *

Attributes which contain the certificate.

Flags: Read / Write


The “certificate” property

  “certificate”              GcrCertificate *

Certificate to display.

Flags: Read / Write


The “attributes” property

  “attributes”               GckAttributes *

Certificate pkcs11 attributes.

Flags: Read / Write


The “certificate” property

  “certificate”              GcrCertificate *

Certificate to display.

Flags: Read / Write


The “label” property

  “label”                    gchar *

Certificate Label.

Flags: Read / Write

Default value: ""