TlsConnection.getPeerCertificate

Gets conn's peer's certificate after the handshake has completed or failed. (It is not set during the emission of #GTlsConnection::accept-certificate.)

class TlsConnection
getPeerCertificate
()

Return Value

Type: gio.tls_certificate.TlsCertificate

conn's peer's certificate, or null