1gnutls_x509_crq_set_key(3)          gnutls          gnutls_x509_crq_set_key(3)
2
3
4

NAME

6       gnutls_x509_crq_set_key  - This function will associate the Certificate
7       request with a key
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int           gnutls_x509_crq_set_key(gnutls_x509_crq_t            crq,
13       gnutls_x509_privkey_t key);
14

ARGUMENTS

16       gnutls_x509_crq_t crq
17                   should contain a gnutls_x509_crq_t structure
18
19       gnutls_x509_privkey_t key
20                   holds a private key
21

DESCRIPTION

23       This function will set the public parameters from the given private key
24       to the request. Only RSA keys are currently supported.
25

RETURNS

27       On success, GNUTLS_E_SUCCESS is returned, otherwise  a  negative  error
28       value.
29

REPORTING BUGS

31       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
32       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
33       http://www.gnu.org/gethelp/
34
36       Copyright © 2008 Free Software Foundation.
37       Copying  and  distribution  of this file, with or without modification,
38       are permitted in any medium  without  royalty  provided  the  copyright
39       notice and this notice are preserved.
40

SEE ALSO

42       The  full  documentation  for gnutls is maintained as a Texinfo manual.
43       If the info and gnutls programs are properly installed  at  your  site,
44       the command
45
46              info gnutls
47
48       should give you access to the complete manual.
49
50
51
52gnutls                               2.8.6          gnutls_x509_crq_set_key(3)
Impressum