Package org.gnome.gio
Interface TlsFileDatabase
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
TlsFileDatabase.TlsFileDatabaseImpl
GTlsFileDatabase
is implemented by TlsDatabase
objects which
load their certificate information from a file. It is an interface which
TLS library specific subtypes implement.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
TlsFileDatabase.Builder<B extends Builder<B>>
static class
The TlsFileDatabaseImpl type represents a native instance of the TlsFileDatabase interface.static class
Provides an interface forGTlsFileDatabase
implementations. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the TlsFileDatabase classstatic TlsFileDatabase
Creates a newGTlsFileDatabase
which uses anchor certificate authorities inanchors
to verify certificate chains.
-
Method Details
-
getType
-
new_
Creates a newGTlsFileDatabase
which uses anchor certificate authorities inanchors
to verify certificate chains.The certificates in
anchors
must be PEM encoded.- Parameters:
anchors
- filename of anchor certificate authorities.- Returns:
- the new
GTlsFileDatabase
, ornull
on error - Throws:
GErrorException
- seeGError
-