1gnutls_x509_dn_get_rdn_ava(3) gnutls gnutls_x509_dn_get_rdn_ava(3)
2
3
4
6 gnutls_x509_dn_get_rdn_ava - API function
7
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
15 gnutls_x509_dn_t dn
16 input variable with opaque DN pointer
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
26 Get pointers to data within the DN.
27
28 Note that ava will contain pointers into the dn structure, so you
29 should not modify any data or deallocate it. Note also that the DN in
30 turn points into the original certificate structure, and thus you may
31 not deallocate the certificate and continue to access dn.
32
34 Returns 0 on success, or an error code.
35
37 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
38 http://www.gnu.org/software/gnutls/ General help using GNU software:
39 http://www.gnu.org/gethelp/
40
42 Copyright © 2008 Free Software Foundation.
43 Copying and distribution of this file, with or without modification,
44 are permitted in any medium without royalty provided the copyright
45 notice and this notice are preserved.
46
48 The full documentation for gnutls is maintained as a Texinfo manual.
49 If the info and gnutls programs are properly installed at your site,
50 the command
51
52 info gnutls
53
54 should give you access to the complete manual.
55
56
57
58gnutls 2.12.6.1 gnutls_x509_dn_get_rdn_ava(3)