TlsClientConnection
Object Hierarchy:
GLib.TlsClientConnection
GLib.TlsClientConnection
GLib.TlsClientConnection
GLib.TlsConnection
GLib.TlsConnection
GLib.TlsConnection->GLib.TlsClientConnection
GLib.IOStream
GLib.IOStream
GLib.IOStream->GLib.TlsConnection
GLib.Object
GLib.Object
GLib.Object->GLib.IOStream
Description:
[
CCode ( type_cname =
"GTlsClientConnectionInterface" , type_id =
"g_tls_client_connection_get_type ()" ) ]
[
Version ( since =
"2.28" ) ]
public interface TlsClientConnection :
TlsConnection
TlsClientConnection is the client-side subclass of
TlsConnection , representing a client-side TLS connection.
Content:
Properties:
public abstract List <ByteArray > accepted_cas { owned get ; }
A list of the distinguished names of the Certificate Authorities that
the server will accept client certificates signed by.
public abstract SocketConnectable server_identity { get ; set construct ; }
A
SocketConnectable describing the identity of the server that is expected on the other end of the connection.
public abstract bool use_ssl3 { get ; set construct ; }
SSL 3.0 is no longer supported.
public abstract TlsCertificateFlags validation_flags { get ; set construct ; }
What steps to perform when validating a certificate received from a
server.
Static methods:
Methods:
public abstract void copy_session_state (TlsClientConnection source)
Possibly copies session state from one connection to another, for use
in TLS session resumption.
public List <ByteArray > get_accepted_cas ()
Gets the list of distinguished names of the Certificate Authorities
that the server will accept certificates from.
public unowned SocketConnectable ? get_server_identity ()
Gets this 's expected server identity
public bool get_use_ssl3 ()
SSL 3.0 is no longer supported.
public TlsCertificateFlags get_validation_flags ()
Gets this 's validation flags
public void set_server_identity (SocketConnectable identity)
Sets this 's expected server
identity, which is used both to tell servers on virtual hosts which certificate to present, and also to let
this know what name to look for in the certificate when performing
g_tls_certificate_bad_identity validation, if enabled.
public void set_use_ssl3 (bool use_ssl3)
Since GLib 2.42.1, SSL 3.0 is no longer supported.
public void set_validation_flags (TlsCertificateFlags flags)
Sets this 's validation flags, to
override the default set of checks performed when validating a server certificate.
Inherited Members:
All known members inherited from class GLib.TlsConnection
All known members inherited from class GLib.IOStream
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref