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"). G_TLS_CERTIFICATE_UNKNOWN_CA The signing certificate authority is not known. G_TLS_CERTIFICATE_BAD_IDENTITY The certificate does not match the expected identity of the site that it was retrieved from. G_TLS_CERTIFICATE_NOT_ACTIVATED The certificate's activation time is still in the future G_TLS_CERTIFICATE_EXPIRED The certificate has expired G_TLS_CERTIFICATE_REVOKED The certificate has been revoked according to the GTlsConnection's certificate revocation list. G_TLS_CERTIFICATE_INSECURE The certificate's algorithm is considered insecure. G_TLS_CERTIFICATE_GENERIC_ERROR Some other error occurred validating the certificate G_TLS_CERTIFICATE_VALIDATE_ALL the combination of all of the above flags Since 2.28

Values

ValueMeaning
UNKNOWN_CA(1 << 0)
BAD_IDENTITY(1 << 1)
NOT_ACTIVATED(1 << 2)
EXPIRED(1 << 3)
REVOKED(1 << 4)
INSECURE(1 << 5)
GENERIC_ERROR(1 << 6)
VALIDATE_ALL0x007f

Meta