1gnutls_x509_crq_get_tlsfeatures(3) gnutls gnutls_x509_crq_get_tlsfeatures(3)
2
3
4
6 gnutls_x509_crq_get_tlsfeatures - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crq_get_tlsfeatures(gnutls_x509_crq_t crq,
12 gnutls_x509_tlsfeatures_t features, unsigned int flags, unsigned int *
13 critical);
14
16 gnutls_x509_crq_t crq
17 An X.509 certificate request
18
19 gnutls_x509_tlsfeatures_t features
20 If the function succeeds, the features will be stored in
21 this variable.
22
23 unsigned int flags
24 zero or GNUTLS_EXT_FLAG_APPEND
25
26 unsigned int * critical
27 the extension status
28
30 This function will get the X.509 TLS features extension structure from
31 the certificate request. The returned structure needs to be freed us‐
32 ing gnutls_x509_tlsfeatures_deinit().
33
34 When the flags is set to GNUTLS_EXT_FLAG_APPEND, then if the features
35 structure is empty this function will behave identically as if the flag
36 was not set. Otherwise if there are elements in the features structure
37 then they will be merged with.
38
39 Note that features must be initialized prior to calling this function.
40
42 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
43 ror value.
44
46 3.5.1
47
49 Report bugs to <bugs@gnutls.org>.
50 Home page: https://www.gnutls.org
51
52
54 Copyright © 2001- Free Software Foundation, Inc., and others.
55 Copying and distribution of this file, with or without modification,
56 are permitted in any medium without royalty provided the copyright no‐
57 tice and this notice are preserved.
58
60 The full documentation for gnutls is maintained as a Texinfo manual.
61 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
62 visit
63
64 https://www.gnutls.org/manual/
65
66gnutls 3.7.2 gnutls_x509_crq_get_tlsfeatures(3)