Package ch.bailu.gtk.gio
Klasse TlsInteractionClass
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.TlsInteractionClass
- Alle implementierten Schnittstellen:
PointerInterface
The class for #GTlsInteraction. Derived classes implement the various
virtual interaction methods to handle TLS interactions.
Derived classes can choose to implement whichever interactions methods they'd
like to support by overriding those virtual methods in their class
initialization function. If a derived class implements an async method,
it must also implement the corresponding finish method.
The synchronous interaction methods should implement to display modal dialogs,
and the asynchronous methods to display modeless dialogs.
If the user cancels an interaction, then the result should be
%G_TLS_INTERACTION_FAILED and the error should be set with a domain of
%G_IO_ERROR and code of %G_IO_ERROR_CANCELLED.
virtual interaction methods to handle TLS interactions.
Derived classes can choose to implement whichever interactions methods they'd
like to support by overriding those virtual methods in their class
initialization function. If a derived class implements an async method,
it must also implement the corresponding finish method.
The synchronous interaction methods should implement to display modal dialogs,
and the asynchronous methods to display modeless dialogs.
If the user cancels an interaction, then the result should be
%G_TLS_INTERACTION_FAILED and the error should be set with a domain of
%G_IO_ERROR and code of %G_IO_ERROR_CANCELLED.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
ask for a password synchronously.static final String
ask for a password asynchronously.static final String
complete operation to ask for a password asynchronously.static final String
Private field: direct-typestatic final String
ask for a certificate synchronously.static final String
ask for a certificate asynchronously.static final String
complete operation to ask for a certificate
asynchronously. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
ch.bailu.gtk.gio.JnaTlsInteractionClass.OnAskPassword
ask for a password synchronously.ch.bailu.gtk.gio.JnaTlsInteractionClass.OnAskPasswordFinish
complete operation to ask for a password asynchronously.ch.bailu.gtk.gio.JnaTlsInteractionClass.OnRequestCertificate
ask for a certificate synchronously.ch.bailu.gtk.gio.JnaTlsInteractionClass.OnRequestCertificateFinish
complete operation to ask for a certificate
asynchronously.static int
static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
setFieldAskPassword
(TlsInteractionClass.OnAskPassword ask_password) ask for a password synchronously.void
setFieldAskPasswordFinish
(TlsInteractionClass.OnAskPasswordFinish ask_password_finish) complete operation to ask for a password asynchronously.void
setFieldRequestCertificate
(TlsInteractionClass.OnRequestCertificate request_certificate) ask for a certificate synchronously.void
setFieldRequestCertificateFinish
(TlsInteractionClass.OnRequestCertificateFinish request_certificate_finish) complete operation to ask for a certificate
asynchronously.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
PARENT_CLASS
Private field: direct-type- Siehe auch:
-
ASK_PASSWORD
ask for a password synchronously. If the implementation
returns %G_TLS_INTERACTION_HANDLED, then the password argument should
have been filled in by using g_tls_password_set_value() or a similar
function.
SeeTlsInteractionClass.OnAskPassword.onAskPassword(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.TlsPassword, ch.bailu.gtk.gio.Cancellable)
- Siehe auch:
-
ASK_PASSWORD_ASYNC
ask for a password asynchronously.
Private field: cb-with-cb- Siehe auch:
-
ASK_PASSWORD_FINISH
complete operation to ask for a password asynchronously.
If the implementation returns %G_TLS_INTERACTION_HANDLED, then the
password argument of the async method should have been filled in by using
g_tls_password_set_value() or a similar function.
SeeTlsInteractionClass.OnAskPasswordFinish.onAskPasswordFinish(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.AsyncResult)
- Siehe auch:
-
REQUEST_CERTIFICATE
ask for a certificate synchronously. If the
implementation returns %G_TLS_INTERACTION_HANDLED, then the connection
argument should have been filled in by using
g_tls_connection_set_certificate().
SeeTlsInteractionClass.OnRequestCertificate.onRequestCertificate(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.TlsConnection, int, ch.bailu.gtk.gio.Cancellable)
- Siehe auch:
-
REQUEST_CERTIFICATE_ASYNC
ask for a certificate asynchronously.
Private field: cb-with-cb- Siehe auch:
-
REQUEST_CERTIFICATE_FINISH
complete operation to ask for a certificate
asynchronously. If the implementation returns %G_TLS_INTERACTION_HANDLED,
then the connection argument of the async method should have been
filled in by using g_tls_connection_set_certificate().
SeeTlsInteractionClass.OnRequestCertificateFinish.onRequestCertificateFinish(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.AsyncResult)
- Siehe auch:
-
-
Konstruktordetails
-
TlsInteractionClass
-
-
Methodendetails
-
getClassHandler
-
setFieldAskPassword
ask for a password synchronously. If the implementation
returns %G_TLS_INTERACTION_HANDLED, then the password argument should
have been filled in by using g_tls_password_set_value() or a similar
function.
SeeTlsInteractionClass.OnAskPassword.onAskPassword(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.TlsPassword, ch.bailu.gtk.gio.Cancellable)
-
getFieldAskPassword
public ch.bailu.gtk.gio.JnaTlsInteractionClass.OnAskPassword getFieldAskPassword()ask for a password synchronously. If the implementation
returns %G_TLS_INTERACTION_HANDLED, then the password argument should
have been filled in by using g_tls_password_set_value() or a similar
function.
SeeTlsInteractionClass.OnAskPassword.onAskPassword(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.TlsPassword, ch.bailu.gtk.gio.Cancellable)
-
setFieldAskPasswordFinish
complete operation to ask for a password asynchronously.
If the implementation returns %G_TLS_INTERACTION_HANDLED, then the
password argument of the async method should have been filled in by using
g_tls_password_set_value() or a similar function.
SeeTlsInteractionClass.OnAskPasswordFinish.onAskPasswordFinish(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.AsyncResult)
-
getFieldAskPasswordFinish
public ch.bailu.gtk.gio.JnaTlsInteractionClass.OnAskPasswordFinish getFieldAskPasswordFinish()complete operation to ask for a password asynchronously.
If the implementation returns %G_TLS_INTERACTION_HANDLED, then the
password argument of the async method should have been filled in by using
g_tls_password_set_value() or a similar function.
SeeTlsInteractionClass.OnAskPasswordFinish.onAskPasswordFinish(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.AsyncResult)
-
setFieldRequestCertificate
public void setFieldRequestCertificate(TlsInteractionClass.OnRequestCertificate request_certificate) ask for a certificate synchronously. If the
implementation returns %G_TLS_INTERACTION_HANDLED, then the connection
argument should have been filled in by using
g_tls_connection_set_certificate().
SeeTlsInteractionClass.OnRequestCertificate.onRequestCertificate(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.TlsConnection, int, ch.bailu.gtk.gio.Cancellable)
-
getFieldRequestCertificate
public ch.bailu.gtk.gio.JnaTlsInteractionClass.OnRequestCertificate getFieldRequestCertificate()ask for a certificate synchronously. If the
implementation returns %G_TLS_INTERACTION_HANDLED, then the connection
argument should have been filled in by using
g_tls_connection_set_certificate().
SeeTlsInteractionClass.OnRequestCertificate.onRequestCertificate(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.TlsConnection, int, ch.bailu.gtk.gio.Cancellable)
-
setFieldRequestCertificateFinish
public void setFieldRequestCertificateFinish(TlsInteractionClass.OnRequestCertificateFinish request_certificate_finish) complete operation to ask for a certificate
asynchronously. If the implementation returns %G_TLS_INTERACTION_HANDLED,
then the connection argument of the async method should have been
filled in by using g_tls_connection_set_certificate().
SeeTlsInteractionClass.OnRequestCertificateFinish.onRequestCertificateFinish(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.AsyncResult)
-
getFieldRequestCertificateFinish
public ch.bailu.gtk.gio.JnaTlsInteractionClass.OnRequestCertificateFinish getFieldRequestCertificateFinish()complete operation to ask for a certificate
asynchronously. If the implementation returns %G_TLS_INTERACTION_HANDLED,
then the connection argument of the async method should have been
filled in by using g_tls_connection_set_certificate().
SeeTlsInteractionClass.OnRequestCertificateFinish.onRequestCertificateFinish(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.TlsInteraction, ch.bailu.gtk.gio.AsyncResult)
-
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-