gi-gio-2.0.14: Gio bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.TlsFileDatabase

Contents

Description

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

Synopsis

Exported types

Methods

new

tlsFileDatabaseNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> [Char]

anchors: filename of anchor certificate authorities.

-> m TlsFileDatabase

Returns: the new TlsFileDatabase, or Nothing on error (Can throw GError)

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

The certificates in anchors must be PEM encoded.

Since: 2.30

Properties

anchors