TlsFileDatabase
Added in version 2.30.
- class TlsFileDatabase(*args, **kwargs)
GTlsFileDatabase
is implemented by TlsDatabase
objects which
load their certificate information from a file. It is an interface which
TLS library specific subtypes implement.
Methods
- class TlsFileDatabase
- new(anchors: str) TlsFileDatabase
Creates a new
GTlsFileDatabase
which uses anchor certificate authorities inanchors
to verify certificate chains.The certificates in
anchors
must be PEM encoded.Added in version 2.30.
- Parameters:
anchors – filename of anchor certificate authorities.