c
GObject.Object
Gio.IOStream
Gio.TlsConnection
| Import line: | Gio = imports.gi.Gio; |
| GIR File: | Gio-2.0.gir |
| C documentation: | GTlsConnection |
| Class : | TlsConnection |
| Extends: | Gio.IOStream |
| Properties | Defined By | |
|---|---|---|
|
base_io_stream : Gio.IOStream
|
Gio.TlsConnection | |
|
certificate : Gio.TlsCertificate
|
Gio.TlsConnection | |
|
closed : gboolean
read only
|
Gio.IOStream | |
|
database : Gio.TlsDatabase
|
Gio.TlsConnection | |
|
input_stream : Gio.InputStream
read only
|
Gio.IOStream | |
|
interaction : Gio.TlsInteraction
|
Gio.TlsConnection | |
|
output_stream : Gio.OutputStream
read only
|
Gio.IOStream | |
|
parent_instance : Gio.IOStream
read only
|
Gio.TlsConnection | |
|
peer_certificate : Gio.TlsCertificate
read only
|
Gio.TlsConnection | |
|
peer_certificate_errors : Gio.TlsCertificateFlags
read only
|
Gio.TlsConnection | |
|
priv : Gio.TlsConnectionPrivate
read only
|
Gio.TlsConnection | |
|
rehandshake_mode : Gio.TlsRehandshakeMode
|
Gio.TlsConnection | |
|
require_close_notify : gboolean
|
Gio.TlsConnection | |
|
use_system_certdb : gboolean
|
Gio.TlsConnection | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new Gio.TlsConnection
(Object properties)
Create a new Gio.TlsConnection
Create a new Gio.TlsConnection
|
||
|
clear_pending
()
:
none
|
Gio.IOStream | |
|
close
(Cancellable cancellable)
:
gboolean
|
Gio.IOStream | |
|
close_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.IOStream | |
|
close_finish
(AsyncResult result)
:
gboolean
|
Gio.IOStream | |
|
Gio.TlsConnection | |
|
get_certificate
()
:
Gio.TlsCertificate
|
Gio.TlsConnection | |
|
get_database
()
:
Gio.TlsDatabase
|
Gio.TlsConnection | |
|
get_input_stream
()
:
Gio.InputStream
|
Gio.IOStream | |
|
get_interaction
()
:
Gio.TlsInteraction
|
Gio.TlsConnection | |
|
get_output_stream
()
:
Gio.OutputStream
|
Gio.IOStream | |
|
get_peer_certificate
()
:
Gio.TlsCertificate
|
Gio.TlsConnection | |
|
get_peer_certificate_errors
()
:
Gio.TlsCertificateFlags
|
Gio.TlsConnection | |
|
get_rehandshake_mode
()
:
Gio.TlsRehandshakeMode
|
Gio.TlsConnection | |
|
get_require_close_notify
()
:
gboolean
|
Gio.TlsConnection | |
|
get_use_system_certdb
()
:
gboolean
|
Gio.TlsConnection | |
|
handshake
(Cancellable cancellable)
:
gboolean
|
Gio.TlsConnection | |
|
handshake_async
(gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.TlsConnection | |
|
handshake_finish
(AsyncResult result)
:
gboolean
|
Gio.TlsConnection | |
|
has_pending
()
:
gboolean
|
Gio.IOStream | |
|
is_closed
()
:
gboolean
|
Gio.IOStream | |
|
set_certificate
(TlsCertificate certificate)
:
none
|
Gio.TlsConnection | |
|
set_database
(TlsDatabase database)
:
none
|
Gio.TlsConnection | |
|
set_interaction
(TlsInteraction interaction)
:
none
|
Gio.TlsConnection | |
|
set_pending
()
:
gboolean
|
Gio.IOStream | |
|
set_rehandshake_mode
(TlsRehandshakeMode mode)
:
none
|
Gio.TlsConnection | |
|
set_require_close_notify
(gboolean require_close_notify)
:
none
|
Gio.TlsConnection | |
|
set_use_system_certdb
(gboolean use_system_certdb)
:
none
|
Gio.TlsConnection | |
|
splice_async
(IOStream stream2, IOStreamSpliceFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.IOStream | |
| Event | Defined By | |
|---|---|---|
|
accept_certificate (TlsConnection self, TlsCertificate peer_cert, TlsCertificateFlags errors)
:
gboolean
|
Gio.TlsConnection | |