Gio.TlsServerConnection¶
- Implementations:
None
Methods¶
class |
|
Virtual Methods¶
None
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Signals¶
None
Fields¶
None
Class Details¶
- class Gio.TlsServerConnection¶
- Bases:
- Structure:
GTlsServerConnection
is the server-side subclass of [class`Gio`.TlsConnection], representing a server-side TLS connection.New in version 2.28.
- classmethod new(base_io_stream, certificate)[source]¶
- Parameters:
base_io_stream (
Gio.IOStream
) – theGio.IOStream
to wrapcertificate (
Gio.TlsCertificate
orNone
) – the default server certificate, orNone
- Raises:
- Returns:
the new
Gio.TlsServerConnection
, orNone
on error- Return type:
Creates a new
Gio.TlsServerConnection
wrapping base_io_stream (which must have pollable input and output streams).See the documentation for
Gio.TlsConnection
:base-io-stream
for restrictions on when application code can run operations on the base_io_stream after this function has returned.New in version 2.28.
Property Details¶
- Gio.TlsServerConnection.props.authentication_mode¶
- Name:
authentication-mode
- Type:
- Default Value:
- Flags:
The
Gio.TlsAuthenticationMode
for the server. This can be changed before callingGio.TlsConnection.handshake
() if you want to rehandshake with a different mode from the initial handshake.New in version 2.28.