1gnutls_x509_ext_import_subject_alt_ngagnmnueutstl(ls3s_)x509_ext_import_subject_alt_names(3)
2
3
4
6 gnutls_x509_ext_import_subject_alt_names - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_x509_ext_import_subject_alt_names(const gnutls_datum_t *
12 ext, gnutls_subject_alt_names_t sans, unsigned int flags);
13
15 const gnutls_datum_t * ext
16 The DER-encoded extension data
17
18 gnutls_subject_alt_names_t sans
19 The alternative names
20
21 unsigned int flags
22 should be zero
23
25 This function will export the alternative names in the provided
26 DER-encoded SubjectAltName PKIX extension, to a gnutls_sub‐
27 ject_alt_names_t type. sans must be initialized.
28
29 This function will succeed even if there no subject alternative names
30 in the structure.
31
33 On success, GNUTLS_E_SUCCESS [22m(0) is returned, otherwise a negative
34 error value.
35
37 3.3.0
38
40 Report bugs to <bugs@gnutls.org>.
41 Home page: https://www.gnutls.org
42
43
45 Copyright © 2001-2020 Free Software Foundation, Inc., and others.
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright
48 notice and this notice are preserved.
49
51 The full documentation for gnutls is maintained as a Texinfo manual.
52 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
53 visit
54
55 https://www.gnutls.org/manual/
56
57gnutls g3n.u6t.l1s3_x509_ext_import_subject_alt_names(3)