get_https_status


Description:

[ Version ( since = "2.34" ) ]
public bool get_https_status (out unowned TlsCertificate certificate, out TlsCertificateFlags errors)

If this is using https (or attempted to use https but got soup_status_ssl_failed), this retrieves the TlsCertificate associated with its connection, and the TlsCertificateFlags showing what problems, if any, have been found with that certificate.

<note><para>This is only meaningful with messages processed by a Session and is not useful for messages received by a Server</para></note>

Parameters:

this

a Message

certificate

this's TLS certificate

errors

the verification status of certificate

Returns:

true if this used/attempted https, false if not