1gnutls_x509_dn_get_rdn_ava(3)       gnutls       gnutls_x509_dn_get_rdn_ava(3)
2
3
4

NAME

6       gnutls_x509_dn_get_rdn_ava - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int gnutls_x509_dn_get_rdn_ava(gnutls_x509_dn_t dn, int irdn, int iava,
12       gnutls_x509_ava_st * ava);
13

ARGUMENTS

15       gnutls_x509_dn_t dn
16                   a pointer to DN
17
18       int irdn    index of RDN
19
20       int iava    index of AVA.
21
22       gnutls_x509_ava_st * ava
23                   Pointer to structure which will hold output information.
24

DESCRIPTION

26       Get pointers to data within the DN. The format of the  ava structure is
27       shown below.
28
29       struct  gnutls_x509_ava_st  { gnutls_datum_t oid; gnutls_datum_t value;
30       unsigned long value_tag; };
31
32       The X.509 distinguished name is a sequence of sequences of strings  and
33       this is what the  irdn and  iava indexes model.
34
35       Note  that   ava  will contain pointers into the  dn structure which in
36       turns points to the original certificate. Thus you  should  not  modify
37       any data or deallocate any of those.
38
39       This  is  a low-level function that requires the caller to do the value
40       conversions when necessary (e.g. from UCS-2).
41

RETURNS

43       Returns 0 on success, or an error code.
44

REPORTING BUGS

46       Report bugs to <bugs@gnutls.org>.
47       Home page: https://www.gnutls.org
48
49
51       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
52       Copying and distribution of this file, with  or  without  modification,
53       are  permitted  in  any  medium  without royalty provided the copyright
54       notice and this notice are preserved.
55

SEE ALSO

57       The full documentation for gnutls is maintained as  a  Texinfo  manual.
58       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
59       visit
60
61       https://www.gnutls.org/manual/
62
63gnutls                               3.6.8       gnutls_x509_dn_get_rdn_ava(3)
Impressum