Camel.CertDB¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class Camel.CertDB(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod get_default()¶
- Return type:
FIXME Document me!
- classmethod new()¶
- Return type:
- clear()¶
- get_host(hostname, fingerprint)¶
- Parameters:
- Returns:
a
Camel.Certcorresponding to the pair of hostname and fingerprint, orNone, if no such certificate is stored in the self.- Return type:
Camel.CertorNone
New in version 3.6.
- list_certs()¶
- Returns:
Newly allocated list of referenced
Camel.Cert-s, which are stored in the self.- Return type:
Gathers a list of known certificates. Each certificate in the returned
GLib.SListis referenced, thus unref it withCamel.Cert.unref() when done with it, the same as free the list itself.New in version 3.16.
- put(cert)¶
- Parameters:
cert (
Camel.Cert) – aCamel.Cert
Puts a certificate to the database. In case there exists a certificate with the same hostname and fingerprint, then it is replaced. This adds its own reference on the cert.
New in version 3.6.
- remove_host(hostname, fingerprint)¶
- Parameters:
Removes a certificate identified by the hostname and fingerprint.
New in version 3.6.
- set_default()¶
- touch()¶
- do_cert_load(istream) virtual¶
- Parameters:
- Return type:
- do_cert_save(cert, ostream) virtual¶
- Parameters:
cert (
Camel.Cert) –
- Return type: