get_tls_peer_certificate


Description:

public unowned TlsCertificate? get_tls_peer_certificate ()

Gets the peer's [class@Gio.

TlsCertificate] associated with this's connection.

Note that this is not set yet during the emission of [signal@Message:SoupMessage:accept-certificate] signal.

Parameters:

this

a Message

Returns:

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