2.35 <GTlsFileDatabase>

Interface: <GTlsFileDatabase>

<GTlsFileDatabase> is implemented by <GTlsDatabase> objects which load their certificate information from a file. It is an interface which TLS library specific subtypes implement.

Properties

Property: tls-file-database:anchors self

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 tls-database:verify-chain operation.

Its value is a string, or #f.

Set it with (set! (tls-file-database:anchors self) value).

Procedures

Procedure: tls-file-database:new anchors ⇒ %return

Creates a new <GTlsFileDatabase> which uses anchor certificate authorities in anchors to verify certificate chains.

The certificates in anchors must be PEM encoded.

anchors

Passed: a file name, as a string.

filename of anchor certificate authorities.

%return

Returned: a <GTlsFileDatabase>.

the new <GTlsFileDatabase>, or #f on error