1gnutls_x509_crq_get_attribute_by_oid(g3n)utglnsutls_x509_crq_get_attribute_by_oid(3)
2
3
4

NAME

6       gnutls_x509_crq_get_attribute_by_oid   -  This  function  will  get  an
7       attribute of the request
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int gnutls_x509_crq_get_attribute_by_oid(gnutls_x509_crq_t  crq,  const
13       char * oid, int indx, void * buf, size_t * sizeof_buf);
14

ARGUMENTS

16       gnutls_x509_crq_t crq
17                   should contain a gnutls_x509_crq_t structure
18
19       const char * oid
20                   holds an Object Identified in null terminated string
21
22       int indx    In  case  multiple  same  OIDs exist in the attribute list,
23                   this specifies which to send. Use zero  to  get  the  first
24                   one.
25
26       void * buf  a pointer to a structure to hold the attribute data (may be
27                   null)
28
29       size_t * sizeof_buf
30                   initially holds the size of buf
31

DESCRIPTION

33       This function will return the  attribute  in  the  certificate  request
34       specified by the given Object ID. The attribute will be DER encoded.
35
36       Returns 0 on success.
37

REPORTING BUGS

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

SEE ALSO

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                               1.6g.n3utls_x509_crq_get_attribute_by_oid(3)
Impressum