Package ch.bailu.gtk.gio
Class TlsInteractionClass
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.TlsInteractionClass
- All Implemented Interfaces:
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
ch.bailu.gtk.gio.JnaTlsInteractionClass.OnAskPassword
ch.bailu.gtk.gio.JnaTlsInteractionClass.OnAskPasswordFinish
ch.bailu.gtk.gio.JnaTlsInteractionClass.OnRequestCertificate
ch.bailu.gtk.gio.JnaTlsInteractionClass.OnRequestCertificateFinish
static int
static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
setFieldAskPassword
(TlsInteractionClass.OnAskPassword ask_password) void
setFieldAskPasswordFinish
(TlsInteractionClass.OnAskPasswordFinish ask_password_finish) void
setFieldRequestCertificate
(TlsInteractionClass.OnRequestCertificate request_certificate) void
setFieldRequestCertificateFinish
(TlsInteractionClass.OnRequestCertificateFinish request_certificate_finish) Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
PARENT_CLASS
Private field: direct-type- See Also:
-
ASK_PASSWORD
- See Also:
-
ASK_PASSWORD_ASYNC
Private field: cb-with-cb- See Also:
-
ASK_PASSWORD_FINISH
- See Also:
-
REQUEST_CERTIFICATE
- See Also:
-
REQUEST_CERTIFICATE_ASYNC
Private field: cb-with-cb- See Also:
-
REQUEST_CERTIFICATE_FINISH
- See Also:
-
-
Constructor Details
-
TlsInteractionClass
-
-
Method Details
-
getClassHandler
-
setFieldAskPassword
-
getFieldAskPassword
public ch.bailu.gtk.gio.JnaTlsInteractionClass.OnAskPassword getFieldAskPassword() -
setFieldAskPasswordFinish
-
getFieldAskPasswordFinish
public ch.bailu.gtk.gio.JnaTlsInteractionClass.OnAskPasswordFinish getFieldAskPasswordFinish() -
setFieldRequestCertificate
public void setFieldRequestCertificate(TlsInteractionClass.OnRequestCertificate request_certificate) -
getFieldRequestCertificate
public ch.bailu.gtk.gio.JnaTlsInteractionClass.OnRequestCertificate getFieldRequestCertificate() -
setFieldRequestCertificateFinish
public void setFieldRequestCertificateFinish(TlsInteractionClass.OnRequestCertificateFinish request_certificate_finish) -
getFieldRequestCertificateFinish
public ch.bailu.gtk.gio.JnaTlsInteractionClass.OnRequestCertificateFinish getFieldRequestCertificateFinish() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-