Package ch.bailu.gtk.gio
Klasse TlsBackend
- Alle implementierten Schnittstellen:
PointerInterface
TLS (Transport Layer Security, aka SSL) and DTLS backend. This is an
internal type used to coordinate the different classes implemented
by a TLS backend.
internal type used to coordinate the different classes implemented
by a TLS backend.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglongGets the #GType of @backend's #GTlsCertificate implementation.static ClassHandlerlongGets the #GType of @backend's #GTlsClientConnection implementation.static TlsBackendGets the default #GTlsBackend for the system.Gets the default #GTlsDatabase used to verify TLS connections.longGets the #GType of @backend’s #GDtlsClientConnection implementation.longGets the #GType of @backend’s #GDtlsServerConnection implementation.longGets the #GType of @backend's #GTlsFileDatabase implementation.static intstatic longstatic TypeSystem.TypeSizelongGets the #GType of @backend's #GTlsServerConnection implementation.static longstatic TypeSystem.TypeSizevoidsetDefaultDatabase(TlsDatabase database) Set 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.booleanChecks if DTLS is supported.booleanChecks if TLS is supported; if this returns %FALSE for the default
#GTlsBackend, it means no "real" TLS backend is available.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrPropertyVon Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnrefVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
TlsBackend
-
-
Methodendetails
-
getClassHandler
-
getCertificateType
public long getCertificateType()Gets the #GType of @backend's #GTlsCertificate implementation.- Gibt zurück:
- the #GType of @backend's #GTlsCertificate implementation.
-
getClientConnectionType
public long getClientConnectionType()Gets the #GType of @backend's #GTlsClientConnection implementation.- Gibt zurück:
- the #GType of @backend's #GTlsClientConnection implementation.
-
getDefaultDatabase
Gets the default #GTlsDatabase used to verify TLS connections.- Gibt zurück:
- the default database, which should be unreffed when done.
-
getDtlsClientConnectionType
public long getDtlsClientConnectionType()Gets the #GType of @backend’s #GDtlsClientConnection implementation.- Gibt zurück:
- the #GType of @backend’s #GDtlsClientConnection implementation, or %G_TYPE_INVALID if this backend doesn’t support DTLS.
-
getDtlsServerConnectionType
public long getDtlsServerConnectionType()Gets the #GType of @backend’s #GDtlsServerConnection implementation.- Gibt zurück:
- the #GType of @backend’s #GDtlsServerConnection implementation, or %G_TYPE_INVALID if this backend doesn’t support DTLS.
-
getFileDatabaseType
public long getFileDatabaseType()Gets the #GType of @backend's #GTlsFileDatabase implementation.- Gibt zurück:
- the #GType of backend's #GTlsFileDatabase implementation.
-
getServerConnectionType
public long getServerConnectionType()Gets the #GType of @backend's #GTlsServerConnection implementation.- Gibt zurück:
- the #GType of @backend's #GTlsServerConnection implementation.
-
setDefaultDatabase
Set 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.- Parameter:
database- the #GTlsDatabase
-
supportsDtls
public boolean supportsDtls()Checks if DTLS is supported. DTLS support may not be available even if TLS
support is available, and vice-versa.- Gibt zurück:
- whether DTLS is supported
-
supportsTls
public boolean supportsTls()Checks if TLS is supported; if this returns %FALSE for the default
#GTlsBackend, it means no "real" TLS backend is available.- Gibt zurück:
- whether or not TLS is supported
-
getDefault
Gets the default #GTlsBackend for the system.- Gibt zurück:
- a #GTlsBackend, which will be a dummy object if no TLS backend is available
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-