Gcr.CertificateExtensionList

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

find_by_oid (oid)

get_extension (position)

Virtual Methods

Inherited:

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

Properties

Name

Type

Flags

Short Description

n-items

int

r

Signals

Inherited:

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

Fields

Inherited:

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

Class Details

class Gcr.CertificateExtensionList(**kwargs)
Bases:

GObject.Object, Gio.ListModel

Abstract:

No

Structure:

Gcr.CertificateExtensionListClass

A wrapper type for a list of [class`CertificateExtension`]s.

New in version 4.3.90.

find_by_oid(oid)[source]
Parameters:

oid (str) – The OID of the certificate extension

Returns:

The certificate extension with the given OID, or None if not found.

Return type:

Gcr.CertificateExtension or None

Looks for an extension with the given OID.

New in version 4.3.90.

get_extension(position)[source]
Parameters:

position (int) – The position of the extension in the list

Returns:

The certificate extension with the given OID

Return type:

Gcr.CertificateExtension

Returns the extension at the given position.

It is illegal to call this function with an invalid position.

Property Details

Gcr.CertificateExtensionList.props.n_items
Name:

n-items

Type:

int

Default Value:

0

Flags:

READABLE