Gio.TlsServerConnection¶
| Implementations: | |
|---|---|
| None | |
Virtual Methods¶
None
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| authentication-mode | Gio.TlsAuthenticationMode | r/w | The client authentication mode | 
Signals¶
None
Fields¶
None
Class Details¶
- 
class Gio.TlsServerConnection¶
- Bases: - GObject.GInterface- Structure: - Gio.TlsServerConnectionInterface- Gio.TlsServerConnectionis the server-side subclass of- 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.IOStreamto wrap
- certificate (Gio.TlsCertificateorNone) – the default server certificate, orNone
 - Raises: - Returns: - the new - Gio.TlsServerConnection, or- Noneon error- Return type: - Creates a new - Gio.TlsServerConnectionwrapping base_io_stream (which must have pollable input and output streams).- See the documentation for - Gio.TlsConnection- :base-io-streamfor restrictions on when application code can run operations on the base_io_stream after this function has returned.- New in version 2.28. 
- base_io_stream (
 
- 
classmethod 
Property Details¶
- 
Gio.TlsServerConnection.props.authentication_mode¶
- Name: - authentication-mode- Type: - Gio.TlsAuthenticationMode- Default Value: - Gio.TlsAuthenticationMode.NONE- Flags: - READABLE,- WRITABLE- The - Gio.TlsAuthenticationModefor the server. This can be changed before calling- Gio.TlsConnection.handshake() if you want to rehandshake with a different mode from the initial handshake.- New in version 2.28.