1gnutls_x509_crq_set_attribute_by_oid(g3n)utglnsutls_x509_crq_set_attribute_by_oid(3)
2
3
4
6 gnutls_x509_crq_set_attribute_by_oid - This function will set an
7 attribute in the request
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crq_set_attribute_by_oid(gnutls_x509_crq_t crq, const
13 char * oid, void * buf, size_t sizeof_buf);
14
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 void * buf a pointer to a structure that holds the attribute data
23
24 size_t sizeof_buf
25 holds the size of buf
26
28 This function will set the attribute in the certificate request speci‐
29 fied by the given Object ID. The attribute must be be DER encoded.
30
31 Returns 0 on success.
32
34 Report bugs to <bug-gnutls@gnu.org>.
35
37 Copyright © 2006 Free Software Foundation.
38 Permission is granted to make and distribute verbatim copies of this
39 manual provided the copyright notice and this permission notice are
40 preserved on all copies.
41
43 The full documentation for gnutls is maintained as a Texinfo manual.
44 If the info and gnutls programs are properly installed at your site,
45 the command
46
47 info gnutls
48
49 should give you access to the complete manual.
50
51
52
53gnutls 1.6g.n3utls_x509_crq_set_attribute_by_oid(3)