get_tls_peer_certificate


Description:

[ Version ( since = "3.2" ) ]
public unowned TlsCertificate? get_tls_peer_certificate ()

Gets the peer's TlsCertificate associated with this's connection.

Note that this is not set yet during the emission of SoupServerMessage:SoupServerMessage:accept-certificate signal.

Parameters:

this

a Message

Returns:

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




2022 vala-language.org