Property

GioDtlsConnection:peer-certificate

Declaration

property peer-certificate: Gio.TlsCertificate [ read ]

Description

The connection’s peer’s certificate, after the TLS handshake has completed or failed. Note in particular that this is not yet set during the emission of GDtlsConnection::accept-certificate.

(You can watch for a GObject::notify signal on this property to detect when a handshake has occurred.)

Type: GTlsCertificate
Available since:2.48

Flags

Readableyes
Writableno
Constructno
Construct onlyno