Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

Enum Gio.TlsCertificateFlags

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GTlsCertificateFlags
Enum : TlsCertificateFlags
A set of flags describing TLS certification validation. This can be
used to set which validation steps to perform (eg, with
g_tls_client_connection_set_validation_flags()), or to describe why
a particular certificate was rejected (eg, in
GTlsConnection::accept-certificate).
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio.SocketClient
Property
tls_validation_flags : Gio.TlsCertificateFlags
Gio.SocketClient
Method
get_tls_validation_flags () : Gio.TlsCertificateFlags
Gets the TLS validation flags used creating TLS connections via
Gio.SocketClient
Method
set_tls_validation_flags (TlsCertificateFlags flags) : none
Sets the TLS validation flags used when creating TLS connections
via client.
Gio.TlsCertificate
Method
verify (SocketConnectable identity, TlsCertificate trusted_ca) : Gio.TlsCertificateFlags
This verifies cert and returns a set of GTlsCertificateFlags
indicating any problems found with it.
Gio.TlsClientConnection
Property
validation_flags : Gio.TlsCertificateFlags
What steps to perform when validating a certificate received from
a server.
Gio.TlsClientConnection
Method
get_validation_flags () : Gio.TlsCertificateFlags
Gets conn's validation flags
Gio.TlsClientConnection
Method
set_validation_flags (TlsCertificateFlags flags) : none
Sets conn's validation flags, to override the default set of
checks performed when validating a server certificate.
Gio.TlsConnection
Property
peer_certificate_errors : Gio.TlsCertificateFlags read only
The errors noticed-and-ignored while verifying
GTlsConnection:peer-certificate.
Gio.TlsConnection
Signal
accept_certificate (TlsConnection self, TlsCertificate peer_cert, TlsCertificateFlags errors) : gboolean
Emitted during the TLS handshake after the peer certificate has
been received.
Gio.TlsConnection
Method
emit_accept_certificate (TlsCertificate peer_cert, TlsCertificateFlags errors) : gboolean
Used by GTlsConnection implementations to emit the
GTlsConnection::accept-certificate signal.
Gio.TlsConnection
Method
get_peer_certificate_errors () : Gio.TlsCertificateFlags
Gets the errors associated with validating conn's peer's
certificate, after the handshake has completed.
Soup.Message
Property
Soup.Socket
Property
tls_errors : Gio.TlsCertificateFlags read only
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:37 GMT+0800 (HKT)