gi-gio-2.0.11: 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

data TlsFileDatabaseAnchorsPropertyInfo Source #

Instances

AttrInfo TlsFileDatabaseAnchorsPropertyInfo Source # 
type AttrOrigin TlsFileDatabaseAnchorsPropertyInfo Source # 
type AttrLabel TlsFileDatabaseAnchorsPropertyInfo Source # 
type AttrGetType TlsFileDatabaseAnchorsPropertyInfo Source # 
type AttrBaseTypeConstraint TlsFileDatabaseAnchorsPropertyInfo Source # 
type AttrSetTypeConstraint TlsFileDatabaseAnchorsPropertyInfo Source # 
type AttrAllowedOps TlsFileDatabaseAnchorsPropertyInfo Source #