Evd.PkiPrivkey

g Evd.PkiPrivkey Evd.PkiPrivkey GObject.Object GObject.Object GObject.Object->Evd.PkiPrivkey

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

decrypt (data, size, cancellable, callback, *user_data)

decrypt_finish (result, size)

generate (key_type, bits, cancellable, callback, *user_data)

generate_finish (result)

get_key_type ()

get_public_key ()

import_native (privkey)

sign_data (data, data_size, cancellable, callback, *user_data)

sign_data_finish (result, size)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

type

int

r

The type of private key (RSA, DSA, etc)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Evd.PkiPrivkey(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Evd.PkiPrivkeyClass

classmethod new()
Return type:

Evd.PkiPrivkey

decrypt(data, size, cancellable, callback, *user_data)
Parameters:
decrypt_finish(result, size)
Parameters:
Raises:

GLib.Error

Return type:

str

generate(key_type, bits, cancellable, callback, *user_data)
Parameters:

New in version 0.2.0.

generate_finish(result)
Parameters:

result (Gio.AsyncResult) –

Raises:

GLib.Error

Return type:

bool

New in version 0.2.0.

get_key_type()
Return type:

Evd.PkiKeyType

get_public_key()
Raises:

GLib.Error

Return type:

Evd.PkiPubkey

New in version 0.2.0.

import_native(privkey)
Parameters:

privkey (int) –

Raises:

GLib.Error

Return type:

bool

sign_data(data, data_size, cancellable, callback, *user_data)
Parameters:

New in version 0.2.0.

sign_data_finish(result, size)
Parameters:
Raises:

GLib.Error

Return type:

str

New in version 0.2.0.

Property Details

Evd.PkiPrivkey.props.type
Name:

type

Type:

int

Default Value:

0

Flags:

READABLE

The type of private key (RSA, DSA, etc)