1 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2 .TH "gnutls_x509_crt_set_issuer_dn_by_oid" 3 "2.12.6.1" "gnutls" "gnutls"
4 gnutls_x509_crt_set_issuer_dn_by_oid \- API function
6 .B #include <gnutls/x509.h>
8 .BI "int gnutls_x509_crt_set_issuer_dn_by_oid(gnutls_x509_crt_t " crt ", const char * " oid ", unsigned int " raw_flag ", const void * " name ", unsigned int " sizeof_name ");"
10 .IP "gnutls_x509_crt_t crt" 12
11 a certificate of type \fBgnutls_x509_crt_t\fP
12 .IP "const char * oid" 12
13 holds an Object Identifier in a null terminated string
14 .IP "unsigned int raw_flag" 12
15 must be 0, or 1 if the data are DER encoded
16 .IP "const void * name" 12
18 .IP "unsigned int sizeof_name" 12
19 holds the size of \fIname\fP
21 This function will set the part of the name of the Certificate
22 issuer, specified by the given OID. The input string should be
23 ASCII or UTF\-8 encoded.
25 Some helper macros with popular OIDs can be found in gnutls/x509.h
26 With this function you can only set the known OIDs. You can test
27 for known OIDs using \fBgnutls_x509_dn_oid_known()\fP. For OIDs that are
28 not known (by gnutls) you should properly DER encode your data,
29 and call this function with \fIraw_flag\fP set.
31 Normally you do not need to call this function, since the signing
32 operation will copy the signer's name as the issuer of the
35 On success, \fBGNUTLS_E_SUCCESS\fP is returned, otherwise a
38 Report bugs to <bug-gnutls@gnu.org>.
39 GnuTLS home page: http://www.gnu.org/software/gnutls/
40 General help using GNU software: http://www.gnu.org/gethelp/
42 Copyright \(co 2008 Free Software Foundation.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright
46 notice and this notice are preserved.
48 The full documentation for
50 is maintained as a Texinfo manual. If the
54 programs are properly installed at your site, the command
58 should give you access to the complete manual.