Debian Codegraph @

doc/enums/gnutls_certificate_verify_flags

raw
1
2
3 @c gnutls_certificate_verify_flags
4 @table @code
5 @item GNUTLS_@-VERIFY_@-DISABLE_@-CA_@-SIGN
6 If set a signer does not have to be
7 a certificate authority. This flag should normally be disabled,
8 unless you know what this means.
9 @item GNUTLS_@-VERIFY_@-DO_@-NOT_@-ALLOW_@-IP_@-MATCHES
10 When verifying a hostname
11 prevent textual IP addresses from matching IP addresses in the
12 certificate. Treat the input only as a DNS name.
13 @item GNUTLS_@-VERIFY_@-DO_@-NOT_@-ALLOW_@-SAME
14 If a certificate is not signed by
15 anyone trusted but exists in the trusted CA list do not treat it
16 as trusted.
17 @item GNUTLS_@-VERIFY_@-ALLOW_@-ANY_@-X509_@-V1_@-CA_@-CRT
18 Allow CA certificates that
19 have version 1 (both root and intermediate). This might be
20 dangerous since those haven't the basicConstraints
21 extension.
22 @item GNUTLS_@-VERIFY_@-ALLOW_@-SIGN_@-RSA_@-MD2
23 Allow certificates to be signed
24 using the broken MD2 algorithm.
25 @item GNUTLS_@-VERIFY_@-ALLOW_@-SIGN_@-RSA_@-MD5
26 Allow certificates to be signed
27 using the broken MD5 algorithm.
28 @item GNUTLS_@-VERIFY_@-DISABLE_@-TIME_@-CHECKS
29 Disable checking of activation
30 and expiration validity periods of certificate chains. Don't set
31 this unless you understand the security implications.
32 @item GNUTLS_@-VERIFY_@-DISABLE_@-TRUSTED_@-TIME_@-CHECKS
33 If set a signer in the trusted
34 list is never checked for expiration or activation.
35 @item GNUTLS_@-VERIFY_@-DO_@-NOT_@-ALLOW_@-X509_@-V1_@-CA_@-CRT
36 Do not allow trusted CA
37 certificates that have version 1. This option is to be used
38 to deprecate all certificates of version 1.
39 @item GNUTLS_@-VERIFY_@-DISABLE_@-CRL_@-CHECKS
40 Disable checking for validity
41 using certificate revocation lists or the available OCSP data.
42 @item GNUTLS_@-VERIFY_@-ALLOW_@-UNSORTED_@-CHAIN
43 A certificate chain is tolerated
44 if unsorted (the case with many TLS servers out there). This is the
45 default since GnuTLS 3.1.4.
46 @item GNUTLS_@-VERIFY_@-DO_@-NOT_@-ALLOW_@-UNSORTED_@-CHAIN
47 Do not tolerate an unsorted
48 certificate chain.
49 @item GNUTLS_@-VERIFY_@-DO_@-NOT_@-ALLOW_@-WILDCARDS
50 When including a hostname
51 check in the verification, do not consider any wildcards.
52 @item GNUTLS_@-VERIFY_@-USE_@-TLS1_@-RSA
53 This indicates that a (raw) RSA signature is provided
54 as in the TLS 1.0 protocol. Not all functions accept this flag.
55 @item GNUTLS_@-VERIFY_@-IGNORE_@-UNKNOWN_@-CRIT_@-EXTENSIONS
56 This signals the verification
57 process, not to fail on unknown critical extensions.
58 @item GNUTLS_@-VERIFY_@-ALLOW_@-SIGN_@-WITH_@-SHA1
59 Allow certificates to be signed
60 using the broken SHA1 hash algorithm.
61 @item GNUTLS_@-VERIFY_@-RSA_@-PSS_@-FIXED_@-SALT_@-LENGTH
62 Disallow RSA-PSS signatures made
63 with mismatching salt length with digest length, as mandated in RFC 8446
64 4.2.3.
65 @end table