DtlsConnection.peerCertificate

gio.tls_certificate.TlsCertificate peerCertificate() @property

Get peerCertificate property.

Returns

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.)