1gnutls_x509_othername_to_virtual(3) gnutls gnutls_x509_othername_to_virtual(3)
2
3
4
6 gnutls_x509_othername_to_virtual - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_x509_othername_to_virtual(const char * oid, const gnutls_da‐
12 tum_t * othername, unsigned int * virt_type, gnutls_datum_t * virt);
13
15 const char * oid
16 The othername object identifier
17
18 const gnutls_datum_t * othername
19 The othername data
20
21 unsigned int * virt_type
22 GNUTLS_SAN_OTHERNAME_XXX
23
24 gnutls_datum_t * virt
25 allocated printable data
26
28 This function will parse and convert the othername data to a virtual
29 type supported by gnutls.
30
32 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
33 ror value.
34
36 3.3.8
37
39 Report bugs to <bugs@gnutls.org>.
40 Home page: https://www.gnutls.org
41
42
44 Copyright © 2001- Free Software Foundation, Inc., and others.
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright no‐
47 tice 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 https://www.gnutls.org/manual/
55
56gnutls 3.7.2 gnutls_x509_othername_to_virtual(3)