Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gio.TlsCertificate

Class Gio.TlsCertificate

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GTlsCertificate
Class : TlsCertificate
Extends: GObject.Object
A certificate used for TLS authentication and encryption.
This can represent either a public key only (eg, the certificate
received by a client from a server), or the combination of
a public key and a private key (which is needed when acting as a
GTlsServerConnection).
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio.TlsCertificate
Property
A GTlsCertificate representing the entity that issued this
certificate.
Gio.TlsConnection
Property
certificate : Gio.TlsCertificate
The connection's certificate; see
g_tls_connection_set_certificate().
Gio.TlsConnection
Property
peer_certificate : Gio.TlsCertificate read only
The connection's peer's certificate, after the TLS handshake has
completed and the certificate has been accepted.
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_certificate () : Gio.TlsCertificate
Gets conn's certificate, as set by
g_tls_connection_set_certificate().
Gio.TlsConnection
Method
get_peer_certificate () : Gio.TlsCertificate
Gets conn's peer's certificate after the handshake has completed.
Gio.TlsConnection
Method
set_certificate (TlsCertificate certificate) : none
This sets the certificate that conn will present to its peer
during the TLS handshake.
Soup.Message
Property
tls_certificate : Gio.TlsCertificate
Soup.Socket
Property
tls_certificate : Gio.TlsCertificate read only
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:18 GMT+0800 (HKT)