1gnutls_x509_crt_set_key_usage(3) gnutls gnutls_x509_crt_set_key_usage(3)
2
3
4
6 gnutls_x509_crt_set_key_usage - This function will set the keyUsage
7 extension
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_set_key_usage(gnutls_x509_crt_t crt, unsigned int
13 usage);
14
16 gnutls_x509_crt_t crt
17 should contain a gnutls_x509_crt_t structure
18
19 unsigned int usage
20 an ORed sequence of the GNUTLS_KEY_* elements.
21
23 This function will set the keyUsage certificate extension.
24
25 Returns 0 on success.
26
28 Report bugs to <bug-gnutls@gnu.org>.
29
31 Copyright © 2006 Free Software Foundation.
32 Permission is granted to make and distribute verbatim copies of this
33 manual provided the copyright notice and this permission notice are
34 preserved on all copies.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the info and gnutls programs are properly installed at your site,
39 the command
40
41 info gnutls
42
43 should give you access to the complete manual.
44
45
46
47gnutls 1.6.3 gnutls_x509_crt_set_key_usage(3)