Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GTlsCertificateFlags |
Enum : | TlsCertificateFlags |
Properties | |
---|---|
guint32 Gio.TlsCertificateFlags.BAD_IDENTITY : 2
|
|
guint32 Gio.TlsCertificateFlags.EXPIRED : 8
|
|
guint32 Gio.TlsCertificateFlags.GENERIC_ERROR : 64
|
|
guint32 Gio.TlsCertificateFlags.INSECURE : 32
|
|
guint32 Gio.TlsCertificateFlags.NOT_ACTIVATED : 4
|
|
guint32 Gio.TlsCertificateFlags.REVOKED : 16
|
|
guint32 Gio.TlsCertificateFlags.UNKNOWN_CA : 1
|
|
guint32 Gio.TlsCertificateFlags.VALIDATE_ALL : 127
|
None |
None |
None |
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 |
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 |
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 |
tls_errors : Gio.TlsCertificateFlags
|
Soup.Socket
Property |
tls_errors : Gio.TlsCertificateFlags
read only
|