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

class ServerMessage
getTlsPeerCertificate
()

Return Value

Type: gio.tls_certificate.TlsCertificate

msg's TLS peer certificate, or null if msg's connection is not SSL.