1gnutls_subject_alt_names_set(3) gnutls gnutls_subject_alt_names_set(3)
2
3
4
6 gnutls_subject_alt_names_set - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_subject_alt_names_set(gnutls_subject_alt_names_t sans,
12 unsigned int san_type, const gnutls_datum_t * san, const char * other‐
13 name_oid);
14
16 gnutls_subject_alt_names_t sans
17 The alternative names structure
18
19 unsigned int san_type
20 The type of the name (of gnutls_subject_alt_names_t)
21
22 const gnutls_datum_t * san
23 The alternative name data
24
25 const char * othername_oid
26 The object identifier if san_type is GNUTLS_SAN_OTHERNAME
27
29 This function will store the specified alternative name in the sans
30 structure.
31
33 On success, GNUTLS_E_SUCCESS (0), otherwise a negative error value.
34
36 3.3.0
37
39 Report bugs to <bugs@gnutls.org>.
40 Home page: http://www.gnutls.org
41
42
44 Copyright © 2001-2014 Free Software Foundation, Inc..
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright
47 notice and this notice are preserved.
48
50 The full documentation for gnutls is maintained as a Texinfo manual.
51 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
52 visit
53
54 http://www.gnutls.org/manual/
55
56gnutls 3.3.29 gnutls_subject_alt_names_set(3)