1gnutls_x509_crt_set_issuer_alt_name(3g)nutlgsnutls_x509_crt_set_issuer_alt_name(3)
2
3
4
6 gnutls_x509_crt_set_issuer_alt_name - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_set_issuer_alt_name(gnutls_x509_crt_t crt,
12 gnutls_x509_subject_alt_name_t type, const void * data, unsigned int
13 data_size, unsigned int flags);
14
16 gnutls_x509_crt_t crt
17 a certificate of type gnutls_x509_crt_t
18
19 gnutls_x509_subject_alt_name_t type
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
30 GNUTLS_FSAN_APPEND to append.
31
33 This function will set the issuer alternative name certificate exten‐
34 sion. It can set the same types as gnutls_x509_crt_set_sub‐
35 ject_alt_name().
36
38 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
39 error value.
40
42 3.3.0
43
45 Report bugs to <bugs@gnutls.org>.
46 Home page: http://www.gnutls.org
47
48
50 Copyright © 2001-2014 Free Software Foundation, Inc..
51 Copying and distribution of this file, with or without modification,
52 are permitted in any medium without royalty provided the copyright
53 notice and this notice are preserved.
54
56 The full documentation for gnutls is maintained as a Texinfo manual.
57 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
58 visit
59
60 http://www.gnutls.org/manual/
61
62gnutls 3.3.2g9nutls_x509_crt_set_issuer_alt_name(3)