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
32 On success, GNUTLS_E_SUCCESS is returned, otherwise a negative error
33 value.
34
36 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
37 http://www.gnu.org/software/gnutls/ General help using GNU software:
38 http://www.gnu.org/gethelp/
39
41 Copyright © 2008 Free Software Foundation.
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright
44 notice and this notice are preserved.
45
47 The full documentation for gnutls is maintained as a Texinfo manual.
48 If the info and gnutls programs are properly installed at your site,
49 the command
50
51 info gnutls
52
53 should give you access to the complete manual.
54
55
56
57gnutls 2.8g.n6utls_x509_crq_set_attribute_by_oid(3)