1gnutls_x509_crt_set_proxy_dn(3)     gnutls     gnutls_x509_crt_set_proxy_dn(3)
2
3
4

NAME

6       gnutls_x509_crt_set_proxy_dn  - Set Proxy Certificate subject's distin‐
7       guished name
8

SYNOPSIS

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

ARGUMENTS

17       gnutls_x509_crt_t crt
18                   a gnutls_x509_crt_t structure with the new proxy cert
19
20       gnutls_x509_crt_t eecrt
21                   the end entity certificate that will be issuing the proxy
22
23       unsigned int raw_flag
24                   must be 0, or 1 if the CN is DER encoded
25
26       const void * name
27                   a pointer to the CN name, may be NULL  (but  MUST  then  be
28                   added later)
29
30       unsigned int sizeof_name
31                   holds the size of name
32

DESCRIPTION

34       This  function  will  set  the subject in crt to the end entity's eecrt
35       subject name, and add a single  Common  Name  component  name  of  size
36       sizeof_name.  This corresponds to the required proxy certificate naming
37       style.  Note that if name is NULL, you  MUST  set  it  later  by  using
38       gnutls_x509_crt_set_dn_by_oid() or similar.
39

RETURNS

41       On  success,  GNUTLS_E_SUCCESS  is returned, otherwise a negative error
42       value.
43

REPORTING BUGS

45       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
46       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
47       http://www.gnu.org/gethelp/
48
50       Copyright © 2008 Free Software Foundation.
51       Copying and distribution of this file, with  or  without  modification,
52       are  permitted  in  any  medium  without royalty provided the copyright
53       notice and this notice are preserved.
54

SEE ALSO

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