1gnutls_x509_crq_set_subject_alt_name(g3n)utglnsutls_x509_crq_set_subject_alt_name(3)
2
3
4

NAME

6       gnutls_x509_crq_set_subject_alt_name - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int     gnutls_x509_crq_set_subject_alt_name(gnutls_x509_crq_t     crq,
12       gnutls_x509_subject_alt_name_t nt, const  void  *  data,  unsigned  int
13       data_size, unsigned int flags);
14

ARGUMENTS

16       gnutls_x509_crq_t crq
17                   a certificate request of type gnutls_x509_crq_t
18
19       gnutls_x509_subject_alt_name_t nt
20                   is one of the gnutls_x509_subject_alt_name_t enumerations
21
22       const void * data
23                   The data to be set
24
25       unsigned int data_size
26                   The size of data to be set
27
28       unsigned int flags
29                   GNUTLS_FSAN_SET  to  clear previous data or GNUTLS_FSAN_AP‐
30                   PEND to append.
31

DESCRIPTION

33       This function will set the subject alternative name certificate  exten‐
34       sion.  It can set the following types:
35

RETURNS

37       On  success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
38       ror value.
39

SINCE

41       2.8.0
42

REPORTING BUGS

44       Report bugs to <bugs@gnutls.org>.
45       Home page: https://www.gnutls.org
46
47
49       Copyright © 2001- Free Software Foundation, Inc., and others.
50       Copying and distribution of this file, with  or  without  modification,
51       are  permitted in any medium without royalty provided the copyright no‐
52       tice and this notice are preserved.
53

SEE ALSO

55       The full documentation for gnutls is maintained as  a  Texinfo  manual.
56       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
57       visit
58
59       https://www.gnutls.org/manual/
60
61gnutls                               3.7g.n2utls_x509_crq_set_subject_alt_name(3)
Impressum