1gnutls_sign_set_secure_for_certs(3) gnutls gnutls_sign_set_secure_for_certs(3)
2
3
4
6 gnutls_sign_set_secure_for_certs - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_sign_set_secure_for_certs(gnutls_sign_algorithm_t sign, un‐
12 signed int secure);
13
15 gnutls_sign_algorithm_t sign
16 the sign algorithm
17
18 unsigned int secure
19 whether to mark the sign algorithm secure for certificates
20
22 Modify the previous system wide setting that marked sign as secure or
23 insecure for the use in certificates. This only has effect when the al‐
24 gorithm is marked as secure through the allowlisting mode in the con‐
25 figuration file, or when the setting is modified with a prior call to
26 this function.
27
28 When secure is true, sign is marked as secure for any use unlike
29 gnutls_sign_set_secure(). Otherwise, it is marked as insecure only for
30 the use in certificates. Use gnutls_sign_set_secure() to mark it inse‐
31 cure for any uses.
32
33 This function must be called prior to any session priority setting
34 functions; otherwise the behavior is undefined.
35
37 3.7.3
38
40 Report bugs to <bugs@gnutls.org>.
41 Home page: https://www.gnutls.org
42
43
45 Copyright © 2001- Free Software Foundation, Inc., and others.
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright no‐
48 tice and this notice are preserved.
49
51 The full documentation for gnutls is maintained as a Texinfo manual.
52 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
53 visit
54
55 https://www.gnutls.org/manual/
56
57gnutls 3.7.6 gnutls_sign_set_secure_for_certs(3)