package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gio/Ocgtk_gio/Gio/Wrappers/Tls_backend/index.html
Module Wrappers.Tls_backend
type t = [ `tls_backend ] Gobject.objval from_gobject : 'a Gobject.obj -> tval supports_tls : t -> boolChecks if TLS is supported; if this returns %FALSE for the default #GTlsBackend, it means no "real" TLS backend is available.
val supports_dtls : t -> boolChecks if DTLS is supported. DTLS support may not be available even if TLS support is available, and vice-versa.
val set_default_database :
t ->
[ `tls_database | `object_ ] Gobject.obj option ->
unitSet the default #GTlsDatabase used to verify TLS connections
Any subsequent call to g_tls_backend_get_default_database() will return the database set in this call. Existing databases and connections are not modified.
Setting a %NULL default database will reset to using the system default database as if g_tls_backend_set_default_database() had never been called.
val get_server_connection_type : t -> Gobject.Type.tGets the #GType of @backend's #GTlsServerConnection implementation.
val get_file_database_type : t -> Gobject.Type.tGets the #GType of @backend's #GTlsFileDatabase implementation.
val get_dtls_server_connection_type : t -> Gobject.Type.tGets the #GType of @backend’s #GDtlsServerConnection implementation.
val get_dtls_client_connection_type : t -> Gobject.Type.tGets the #GType of @backend’s #GDtlsClientConnection implementation.
val get_default_database : t -> [ `tls_database | `object_ ] Gobject.objGets the default #GTlsDatabase used to verify TLS connections.
val get_client_connection_type : t -> Gobject.Type.tGets the #GType of @backend's #GTlsClientConnection implementation.
val get_certificate_type : t -> Gobject.Type.tGets the #GType of @backend's #GTlsCertificate implementation.