Gio.TlsFileDatabase¶
| Implementations: | |
|---|---|
| None | |
Virtual Methods¶
None
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| anchors | str | r/w/c | The certificate authority anchor file | 
Signals¶
None
Fields¶
None
Class Details¶
- 
class Gio.TlsFileDatabase¶
- Bases: - GObject.GInterface- Structure: - Gio.TlsFileDatabaseInterface- Gio.TlsFileDatabaseis implemented by- Gio.TlsDatabaseobjects which load their certificate information from a file. It is an interface which TLS library specific subtypes implement.- New in version 2.30. - 
classmethod new(anchors)[source]¶
- Parameters: - anchors ( - str) – filename of anchor certificate authorities.- Raises: - GLib.Error- Returns: - the new - Gio.TlsFileDatabase, or- Noneon error- Return type: - Gio.TlsFileDatabase- Creates a new - Gio.TlsFileDatabasewhich uses anchor certificate authorities in anchors to verify certificate chains.- The certificates in anchors must be PEM encoded. - New in version 2.30. 
 
- 
classmethod 
Property Details¶
- 
Gio.TlsFileDatabase.props.anchors¶
- Name: - anchors- Type: - str- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT- The path to a file containing PEM encoded certificate authority root anchors. The certificates in this file will be treated as root authorities for the purpose of verifying other certificates via the - Gio.TlsDatabase.verify_chain() operation.- New in version 2.30.