Gio.TlsConnection.peer_certificate
TlsConnection.peer_certificate: Gio.TlsCertificate (Read)
The connection's peer's certificate, after the TLS handshake has completed and the certificate has been accepted. Note in particular that this is not yet set during the emission of Gio.TlsConnection::accept-certificate.
(You can watch for a GObject.Object::notify signal on this property to detect when a handshake has occurred.)
Since 2.28