Gio.TlsFileDatabase.new
function new(anchors: String): Gio.TlsFileDatabase {
// Gjs wrapper for g_tls_file_database_new()
}
Creates a new Gio.TlsFileDatabase which uses anchor certificate authorities in anchors to verify certificate chains.
The certificates in anchors must be PEM encoded.
Since 2.30
- anchors
filename of anchor certificate authorities.
- Returns
the new Gio.TlsFileDatabase, or null on error