1gnutls_x509_crt_set_crq_extension_byg_gnonuiutdtl(ls3s_)x509_crt_set_crq_extension_by_oid(3)
2
3
4
6 gnutls_x509_crt_set_crq_extension_by_oid - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_set_crq_extension_by_oid(gnutls_x509_crt_t crt,
12 gnutls_x509_crq_t crq, const char * oid, unsigned flags);
13
15 gnutls_x509_crt_t crt
16 a certificate of type gnutls_x509_crt_t
17
18 gnutls_x509_crq_t crq
19 holds a certificate request
20
21 const char * oid
22 the object identifier of the OID to copy
23
24 unsigned flags
25 should be zero
26
28 This function will set the extension specify by oid from the given re‐
29 quest to the certificate.
30
32 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
33 ror value.
34
36 3.5.1
37
39 Report bugs to <bugs@gnutls.org>.
40 Home page: https://www.gnutls.org
41
42
44 Copyright © 2001- Free Software Foundation, Inc., and others.
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright no‐
47 tice and this notice are preserved.
48
50 The full documentation for gnutls is maintained as a Texinfo manual.
51 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
52 visit
53
54 https://www.gnutls.org/manual/
55
56gnutls gn3u.t7l.s6_x509_crt_set_crq_extension_by_oid(3)