new

fun new(anchors: String): <Error class: unknown class><TlsFileDatabase>

Creates a new #GTlsFileDatabase which uses anchor certificate authorities in @anchors to verify certificate chains.

The certificates in @anchors must be PEM encoded.

Return

the new #GTlsFileDatabase, or null on error

Since

2.30

Parameters

anchors

filename of anchor certificate authorities.