Gcr.SimpleCertificate

g GObject.GInterface GObject.GInterface Gcr.Certificate Gcr.Certificate GObject.GInterface->Gcr.Certificate GObject.Object GObject.Object Gcr.SimpleCertificate Gcr.SimpleCertificate GObject.Object->Gcr.SimpleCertificate Gcr.Certificate->Gcr.SimpleCertificate

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gcr.Certificate (22)

Structs:

GObject.ObjectClass (5)

class

new (data)

Virtual Methods

Inherited:

GObject.Object (7), Gcr.Certificate (1)

Properties

Inherited:

Gcr.Certificate (5)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Gcr.SimpleCertificate(**kwargs)
Bases:

GObject.Object, Gcr.Certificate

Abstract:

No

Structure:

Gcr.SimpleCertificateClass

An implementation of [iface`Certificate`] which loads a certificate from DER data already located in memory.

To create an object, use the [ctor`SimpleCertificate`.new] or [ctor`SimpleCertificate`.new_static] functions.

classmethod new(data)[source]
Parameters:

data (bytes) – the raw DER certificate data

Returns:

a new Gcr.SimpleCertificate

Return type:

Gcr.SimpleCertificate

Create a new Gcr.SimpleCertificate for the raw DER data. The data memory is copied so you can dispose of it after this function returns.