gio.tls_file_database_mixin

Module for [TlsFileDatabase] interface mixin

Templates 2

tmplTlsFileDatabaseT()

[gio.tls_file_database.TlsFileDatabase] is implemented by [gio.tls_database.TlsDatabase] objects which load their certificate information from a file. It is an interface which TLS library specific subtypes implement.

Functions
string anchors()

Get anchors property.

Returns

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.tls_database.TlsDatabase.verifyChain] operation.

void anchors(string propval)

Set anchors property.

Parameters

propvalThe 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.tls_database.TlsDatabase.verifyChain] operation.
tmplTlsFileDatabaseGidBuilderT()
Functions
T anchors(string propval)

Set anchors property.

Parameters

propvalThe 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.tls_database.TlsDatabase.verifyChain] operation.

Returns

Builder instance for fluent chaining