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 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:

This is only meaningful with messages processed by a Session and is not useful for messages received by a Server

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