@new


Description:

public static TlsFileDatabase? @new (string anchors) throws Error

Creates a new TlsFileDatabase which uses anchor certificate authorities in anchors to verify certificate chains.

The certificates in anchors must be PEM encoded.

Parameters:

anchors

filename of anchor certificate authorities.

Returns:

the new TlsFileDatabase, or null on error