1 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2 .TH "gnutls_x509_crt_set_proxy_dn" 3 "2.12.6.1" "gnutls" "gnutls"
4 gnutls_x509_crt_set_proxy_dn \- API function
6 .B #include <gnutls/x509.h>
8 .BI "int gnutls_x509_crt_set_proxy_dn(gnutls_x509_crt_t " crt ", gnutls_x509_crt_t " eecrt ", unsigned int " raw_flag ", const void * " name ", unsigned int " sizeof_name ");"
10 .IP "gnutls_x509_crt_t crt" 12
11 a gnutls_x509_crt_t structure with the new proxy cert
12 .IP "gnutls_x509_crt_t eecrt" 12
13 the end entity certificate that will be issuing the proxy
14 .IP "unsigned int raw_flag" 12
15 must be 0, or 1 if the CN is DER encoded
16 .IP "const void * name" 12
17 a pointer to the CN name, may be NULL (but MUST then be added later)
18 .IP "unsigned int sizeof_name" 12
19 holds the size of \fIname\fP
21 This function will set the subject in \fIcrt\fP to the end entity's
22 \fIeecrt\fP subject name, and add a single Common Name component \fIname\fP
23 of size \fIsizeof_name\fP. This corresponds to the required proxy
24 certificate naming style. Note that if \fIname\fP is \fBNULL\fP, you MUST
25 set it later by using \fBgnutls_x509_crt_set_dn_by_oid()\fP or similar.
27 On success, \fBGNUTLS_E_SUCCESS\fP is returned, otherwise a
30 Report bugs to <bug-gnutls@gnu.org>.
31 GnuTLS home page: http://www.gnu.org/software/gnutls/
32 General help using GNU software: http://www.gnu.org/gethelp/
34 Copyright \(co 2008 Free Software Foundation.
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright
38 notice and this notice are preserved.
40 The full documentation for
42 is maintained as a Texinfo manual. If the
46 programs are properly installed at your site, the command
50 should give you access to the complete manual.