1gnutls_x509_ext_import_tlsfeatures(3)gnutlsgnutls_x509_ext_import_tlsfeatures(3)
2
3
4
6 gnutls_x509_ext_import_tlsfeatures - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_x509_ext_import_tlsfeatures(const gnutls_datum_t * ext,
12 gnutls_x509_tlsfeatures_t f, unsigned int flags);
13
15 const gnutls_datum_t * ext
16 The DER-encoded extension data
17
18 gnutls_x509_tlsfeatures_t f
19 The features structure
20
21 unsigned int flags
22 zero or GNUTLS_EXT_FLAG_APPEND
23
25 This function will export the features in the provided DER-encoded TLS
26 Features PKIX extension, to a gnutls_x509_tlsfeatures_t type. f must
27 be initialized.
28
29 When the flags is set to GNUTLS_EXT_FLAG_APPEND, then if the features
30 structure is empty this function will behave identically as if the flag
31 was not set. Otherwise if there are elements in the features structure
32 then they will be merged with.
33
35 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
36 ror value.
37
39 3.5.1
40
42 Report bugs to <bugs@gnutls.org>.
43 Home page: https://www.gnutls.org
44
45
47 Copyright © 2001- Free Software Foundation, Inc., and others.
48 Copying and distribution of this file, with or without modification,
49 are permitted in any medium without royalty provided the copyright no‐
50 tice and this notice are preserved.
51
53 The full documentation for gnutls is maintained as a Texinfo manual.
54 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
55 visit
56
57 https://www.gnutls.org/manual/
58
59gnutls 3.7.8gnutls_x509_ext_import_tlsfeatures(3)