1gnutls_x509_crq_get_tlsfeatures(3)  gnutls  gnutls_x509_crq_get_tlsfeatures(3)
2
3
4

NAME

6       gnutls_x509_crq_get_tlsfeatures - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

30       This function will get the X.509 TLS features extension structure  from
31       the  certificate  request.   The  returned  structure needs to be freed
32       using 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

RETURNS

42       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
43       error value.
44

SINCE

46       3.5.1
47

REPORTING BUGS

49       Report bugs to <bugs@gnutls.org>.
50       Home page: https://www.gnutls.org
51
52
54       Copyright © 2001-2020 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
57       notice and this notice are preserved.
58

SEE ALSO

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.6.13  gnutls_x509_crq_get_tlsfeatures(3)
Impressum