A set of flags describing TLS certification validation. This can be
used to describe why a particular certificate was rejected (for example,
in tls-connection:accept-certificate).
GLib guarantees that if certificate verification fails, at least one
flag will be set, but it does not guarantee that all possible flags will
be set. Accordingly, you may not safely decide to ignore any particular
type of error. For example, it would be incorrect to mask
expired if you want to allow expired
certificates, because this could potentially be the only error flag set
even if other problems exist with the certificate.
no-flagsNo flags set. Since: 2.74
unknown-caThe signing certificate authority is not known.
bad-identityThe certificate does not match the expected identity of the site that it was retrieved from.
not-activatedThe certificate’s activation time is still in the future
expiredThe certificate has expired
revokedThe certificate has been revoked according to the
<GTlsConnection>’s certificate revocation
list.
insecureThe certificate’s algorithm is considered insecure.
generic-errorSome other error occurred validating the certificate
validate-allthe combination of all of the above flags