[ CCode ( cprefix = "G_TLS_CERTIFICATE_" , type_id = "g_tls_certificate_flags_get_type ()" ) ]
[ Flags ]
[ Version ( since = "2.28" ) ]
public enum TlsCertificateFlags
A set of flags describing TLS certification validation.
This can be used to set which validation steps to perform (eg, with
set_validation_flags), or to describe why a particular
certificate was rejected (eg, in accept_certificate).
- BAD_IDENTITY - The
certificate does not match the expected identity of the site that it was retrieved from.
- EXPIRED - The certificate has
- GENERIC_ERROR - Some
other error occurred validating the certificate
- INSECURE - The certificate's
algorithm is considered insecure.
- NOT_ACTIVATED - The
certificate's activation time is still in the future
- REVOKED - The certificate has
been revoked according to the TlsConnection's certificate revocation
- UNKNOWN_CA - The signing
certificate authority is not known.
- VALIDATE_ALL - the
combination of all of the above flags