1gnutls_x509_crt_set_issuer_dn_by_oid(g3n)utglnsutls_x509_crt_set_issuer_dn_by_oid(3)
2
3
4

NAME

6       gnutls_x509_crt_set_issuer_dn_by_oid  - This function will set the Cer‐
7       tificate request issuer's distinguished name
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int gnutls_x509_crt_set_issuer_dn_by_oid(gnutls_x509_crt_t  crt,  const
13       char  *  oid,  unsigned  int  raw_flag, const void * name, unsigned int
14       sizeof_name);
15

ARGUMENTS

17       gnutls_x509_crt_t crt
18                   should contain a gnutls_x509_crt_t structure
19
20       const char * oid
21                   holds an Object Identifier in a null terminated string
22
23       unsigned int raw_flag
24                   must be 0, or 1 if the data are DER encoded
25
26       const void * name
27                   a pointer to the name
28
29       unsigned int sizeof_name
30                   holds the size of name
31

DESCRIPTION

33       This function will set the part of the name of the Certificate  issuer,
34       specified  by  the given OID. The input string should be ASCII or UTF-8
35       encoded.
36
37       Some helper macros with popular OIDs can be found in gnutls/x509.h With
38       this  function  you can only set the known OIDs. You can test for known
39       OIDs using gnutls_x509_dn_oid_known(). For OIDs that are not known  (by
40       gnutls)  you  should properly DER encode your data, and call this func‐
41       tion with raw_flag set.
42
43       Normally you do not need to call this function, since the signing oper‐
44       ation will copy the signer's name as the issuer of the certificate.
45
46       Returns 0 on success.
47

REPORTING BUGS

49       Report bugs to <bug-gnutls@gnu.org>.
50
52       Copyright © 2006 Free Software Foundation.
53       Permission  is  granted  to make and distribute verbatim copies of this
54       manual provided the copyright notice and  this  permission  notice  are
55       preserved on all copies.
56

SEE ALSO

58       The  full  documentation  for gnutls is maintained as a Texinfo manual.
59       If the info and gnutls programs are properly installed  at  your  site,
60       the command
61
62              info gnutls
63
64       should give you access to the complete manual.
65
66
67
68gnutls                               1.6g.n3utls_x509_crt_set_issuer_dn_by_oid(3)
Impressum