Gio.TlsConnection.prototype.get_peer_certificate
function get_peer_certificate(): Gio.TlsCertificate {
// Gjs wrapper for g_tls_connection_get_peer_certificate()
}
Gets conn's peer's certificate after the handshake has completed. (It is not set during the emission of Gio.TlsConnection::accept-certificate.)
Since 2.28
- Returns
conn's peer's certificate, or null