1gnutls_x509_othername_to_virtual(3) gnutls gnutls_x509_othername_to_virtual(3)
2
3
4

NAME

6       gnutls_x509_othername_to_virtual - API function
7

SYNOPSIS

9       #include <gnutls/x509-ext.h>
10
11       int    gnutls_x509_othername_to_virtual(const   char   *   oid,   const
12       gnutls_datum_t * othername, unsigned int * virt_type, gnutls_datum_t  *
13       virt);
14

ARGUMENTS

16       const char * oid
17                   The othername object identifier
18
19       const gnutls_datum_t * othername
20                   The othername data
21
22       unsigned int * virt_type
23                   GNUTLS_SAN_OTHERNAME_XXX
24
25       gnutls_datum_t * virt
26                   allocated printable data
27

DESCRIPTION

29       This  function  will  parse and convert the othername data to a virtual
30       type supported by gnutls.
31

RETURNS

33       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
34       error value.
35

SINCE

37       3.3.8
38

REPORTING BUGS

40       Report bugs to <bugs@gnutls.org>.
41       Home page: https://www.gnutls.org
42
43
45       Copyright © 2001-2019 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

SEE ALSO

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                               3.6.8 gnutls_x509_othername_to_virtual(3)
Impressum