:right-sidebar: True TlsFileDatabase =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.30 .. class:: TlsFileDatabase(*args, **kwargs) :no-contents-entry: ``GTlsFileDatabase`` is implemented by :obj:`~gi.repository.Gio.TlsDatabase` objects which load their certificate information from a file. It is an interface which TLS library specific subtypes implement. Methods ------- .. rst-class:: interim-class .. class:: TlsFileDatabase :no-index: .. classmethod:: new() -> ~gi.repository.Gio.TlsFileDatabase Creates a new ``GTlsFileDatabase`` which uses anchor certificate authorities in ``anchors`` to verify certificate chains. The certificates in ``anchors`` must be PEM encoded. .. versionadded:: 2.30 Properties ---------- .. rst-class:: interim-class .. class:: TlsFileDatabase :no-index: .. attribute:: props.anchors :type: str The type of the None singleton. .. versionadded:: 2.30