Message.getTlsPeerCertificate

gio.tls_certificate.TlsCertificate getTlsPeerCertificate()

Gets the peer's gio.tls_certificate.TlsCertificate associated with msg's connection.

Note that this is not set yet during the emission of soup.message.Message.acceptCertificate signal.

Returns

msg's TLS peer certificate,

or null if msg's connection is not SSL.