GTlsCertificateFlags

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

Values

ValueMeaning
UNKNOWN_CA1

The signing certificate authority is not known.

BAD_IDENTITY2

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

NOT_ACTIVATED4

The certificate's activation time is still in the future

EXPIRED8

The certificate has expired

REVOKED16

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

INSECURE32

The certificate's algorithm is considered insecure.

GENERIC_ERROR64

Some other error occurred validating the certificate

VALIDATE_ALL127

the combination of all of the above flags

Meta

Since

2.28