Gio.TlsCertificateFlags

A set of flags describing TLS certification validation. This can be used to set which validation steps to perform (eg, with Gio.TlsClientConnection.prototype.set_validation_flags), or to describe why a particular certificate was rejected (eg, in Gio.TlsConnection::accept-certificate).

Since 2.28

TlsCertificateFlags.UNKNOWN_CA

The signing certificate authority is not known.

TlsCertificateFlags.BAD_IDENTITY

The certificate does not match the expected identity of the site that it was retrieved from.

TlsCertificateFlags.NOT_ACTIVATED

The certificate's activation time is still in the future

TlsCertificateFlags.EXPIRED

The certificate has expired

TlsCertificateFlags.REVOKED

The certificate has been revoked according to the Gio.TlsConnection's certificate revocation list.

TlsCertificateFlags.INSECURE

The certificate's algorithm is considered insecure.

TlsCertificateFlags.GENERIC_ERROR

Some other error occurred validating the certificate

TlsCertificateFlags.VALIDATE_ALL

the combination of all of the above flags