ServerMessage.getTlsPeerCertificate

gio.tls_certificate.TlsCertificate getTlsPeerCertificate()

Gets the peer's #GTlsCertificate associated with msg's connection. Note that this is not set yet during the emission of SoupServerMessage::accept-certificate signal.

Returns

msg's TLS peer certificate,

or null if msg's connection is not SSL.