Evd.TlsCertificate

g Evd.TlsCertificate Evd.TlsCertificate GObject.Object GObject.Object GObject.Object->Evd.TlsCertificate

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_activation_time ()

get_dn ()

get_expiration_time ()

get_native ()

get_pki_key ()

import_ (raw_data, len)

import_from_file (filename, cancellable, callback, *user_data)

import_from_file_finish (result)

steal_native ()

verify_validity ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

type

int

r

The type of certificate (X.509 or OPENPGP)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Evd.TlsCertificate(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Evd.TlsCertificateClass

classmethod new()
Return type:

Evd.TlsCertificate

get_activation_time()
Raises:

GLib.Error

Return type:

int

get_dn()
Raises:

GLib.Error

Return type:

str

get_expiration_time()
Raises:

GLib.Error

Return type:

int

get_native()
Return type:

object or None

get_pki_key()
Raises:

GLib.Error

Return type:

Evd.PkiPubkey

import_(raw_data, len)
Parameters:
  • raw_data (str) –

  • len (int) –

Raises:

GLib.Error

Return type:

bool

import_from_file(filename, cancellable, callback, *user_data)
Parameters:
import_from_file_finish(result)
Parameters:

result (Gio.AsyncResult) –

Raises:

GLib.Error

Return type:

bool

steal_native()
Return type:

object or None

verify_validity()
Raises:

GLib.Error

Return type:

int

Property Details

Evd.TlsCertificate.props.type
Name:

type

Type:

int

Default Value:

0

Flags:

READABLE

The type of certificate (X.509 or OPENPGP)