1gnutls_x509_crt_set_subject_altegrnnuattligsvn_eux_t5nl0as9m_ec(r3t)_set_subject_alternative_name(3)
2
3
4
6 gnutls_x509_crt_set_subject_alternative_name - This function will set
7 the subject Alternative Name
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_set_subject_alternative_name(gnutls_x509_crt_t crt,
13 gnutls_x509_subject_alt_name_t type, const char *
14 data_string);
15
17 gnutls_x509_crt_t crt
18 should contain a gnutls_x509_crt_t structure
19
20 gnutls_x509_subject_alt_name_t type
21 is one of the gnutls_x509_subject_alt_name_t enumerations
22
23 const char * data_string
24 The data to be set
25
27 This function will set the subject alternative name certificate exten‐
28 sion.
29
30 Returns 0 on success.
31
33 Report bugs to <bug-gnutls@gnu.org>.
34
36 Copyright © 2006 Free Software Foundation.
37 Permission is granted to make and distribute verbatim copies of this
38 manual provided the copyright notice and this permission notice are
39 preserved on all copies.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the info and gnutls programs are properly installed at your site,
44 the command
45
46 info gnutls
47
48 should give you access to the complete manual.
49
50
51
52gnutls gnutls1_.x65.039_crt_set_subject_alternative_name(3)