1gnutls_x509_rdn_get_oid(3)          gnutls          gnutls_x509_rdn_get_oid(3)
2
3
4

NAME

6       gnutls_x509_rdn_get_oid  -  This  function  parses  an RDN sequence and
7       returns an OID.
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int gnutls_x509_rdn_get_oid(const gnutls_datum_t * idn, int indx,  void
13       * buf, size_t * sizeof_buf);
14

ARGUMENTS

16       const gnutls_datum_t * idn
17                   should contain a DER encoded RDN sequence
18
19       int indx    Indicates which OID to return. Use 0 for the first one.
20
21       void * buf
22
23       size_t * sizeof_buf
24

DESCRIPTION

26       This  function  will return the specified Object identifier, of the RDN
27       sequence.
28
29       Returns GNUTLS_E_SHORT_MEMORY_BUFFER and  updates  *sizeof_buf  if  the
30       provided buffer is not long enough, and 0 on success.
31

REPORTING BUGS

33       Report bugs to <bug-gnutls@gnu.org>.
34
36       Copyright © 2006 Free Software Foundation.
37       Permission  is  granted  to make and distribute verbatim copies of this
38       manual provided the copyright notice and  this  permission  notice  are
39       preserved on all copies.
40

SEE ALSO

42       The  full  documentation  for gnutls is maintained as a Texinfo manual.
43       If the info and gnutls programs are properly installed  at  your  site,
44       the command
45
46              info gnutls
47
48       should give you access to the complete manual.
49
50
51
52gnutls                               1.6.3          gnutls_x509_rdn_get_oid(3)
Impressum