Gcr.CertificatePolicy

g GObject.GInterface GObject.GInterface Gio.ListModel Gio.ListModel GObject.GInterface->Gio.ListModel GObject.Object GObject.Object Gcr.CertificatePolicy Gcr.CertificatePolicy GObject.Object->Gcr.CertificatePolicy Gio.ListModel->Gcr.CertificatePolicy

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gio.ListModel (4)

Structs:

GObject.ObjectClass (5)

get_name ()

get_oid ()

Virtual Methods

Inherited:

GObject.Object (7), Gio.ListModel (3)

Properties

None

Signals

Inherited:

GObject.Object (1), Gio.ListModel (1)

Fields

Inherited:

GObject.Object (1), Gio.ListModel (1)

Class Details

class Gcr.CertificatePolicy(**kwargs)
Bases:

GObject.Object, Gio.ListModel

Abstract:

No

Structure:

Gcr.CertificatePolicyClass

An object describing a certificate policy.

These policies are listed as part of a [class`Gcr`.CertificateExtensionCertificatePolicies] object.

A policy can optionally also include qualifiers, which are exposed through the [iface`Gio`.ListModel] API.

New in version 4.3.91.

get_name()[source]
Returns:

A name describing the policy OID

Return type:

str

Returns a user-friendly name of this certificate policy, if known.

get_oid()[source]
Returns:

The policy OID

Return type:

str

Returns the OID string that describes this certificate policy.