Evd.PkiPrivkey¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The type of private key (RSA, DSA, etc) |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Evd.PkiPrivkey(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- decrypt(data, size, cancellable, callback, *user_data)¶
- Parameters:
data (
str
) –size (
int
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- decrypt_finish(result, size)¶
- Parameters:
result (
Gio.AsyncResult
) –size (
int
) –
- Raises:
- Return type:
- generate(key_type, bits, cancellable, callback, *user_data)¶
- Parameters:
key_type (
Evd.PkiKeyType
) –bits (
int
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
New in version 0.2.0.
- generate_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
New in version 0.2.0.
- get_key_type()¶
- Return type:
- get_public_key()¶
- Raises:
- Return type:
New in version 0.2.0.
- sign_data(data, data_size, cancellable, callback, *user_data)¶
- Parameters:
data (
str
) –data_size (
int
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
New in version 0.2.0.
- sign_data_finish(result, size)¶
- Parameters:
result (
Gio.AsyncResult
) –size (
int
) –
- Raises:
- Return type:
New in version 0.2.0.