Evd.TlsCredentials

g Evd.TlsCredentials Evd.TlsCredentials GObject.Object GObject.Object GObject.Object->Evd.TlsCredentials

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

add_certificate (cert, privkey)

add_certificate_from_file (cert_file, key_file, cancellable, callback, *user_data)

add_certificate_from_file_finish (result)

get_credentials ()

prepare ()

ready ()

Virtual Methods

Inherited:

GObject.Object (7)

do_ready ()

Properties

Name

Type

Flags

Short Description

dh-bits

int

r/w

Bit depth of the Diffie-Hellman key exchange parameters to use during handshake

Signals

Inherited:

GObject.Object (1)

Name

Short Description

ready

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Evd.TlsCredentials(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Evd.TlsCredentialsClass

classmethod new()
Return type:

Evd.TlsCredentials

add_certificate(cert, privkey)
Parameters:
Raises:

GLib.Error

Return type:

bool

add_certificate_from_file(cert_file, key_file, cancellable, callback, *user_data)
Parameters:
add_certificate_from_file_finish(result)
Parameters:

result (Gio.AsyncResult) –

Raises:

GLib.Error

Return type:

bool

get_credentials()
Return type:

object or None

prepare()
Raises:

GLib.Error

Return type:

bool

ready()
Return type:

bool

do_ready() virtual

Signal Details

Evd.TlsCredentials.signals.ready(tls_credentials)
Signal Name:

ready

Flags:

RUN_LAST, ACTION

Parameters:

tls_credentials (Evd.TlsCredentials) – The object which received the signal

Property Details

Evd.TlsCredentials.props.dh_bits
Name:

dh-bits

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Bit depth of the Diffie-Hellman key exchange parameters to use during handshake