1gnutls_x509_crt_sign(3) gnutls gnutls_x509_crt_sign(3)
2
3
4
6 gnutls_x509_crt_sign - This function will sign a certificate with a key
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_sign(gnutls_x509_crt_t crt, gnutls_x509_crt_t
12 issuer, gnutls_x509_privkey_t issuer_key);
13
15 gnutls_x509_crt_t crt
16 should contain a gnutls_x509_crt_t structure
17
18 gnutls_x509_crt_t issuer
19 is the certificate of the certificate issuer
20
21 gnutls_x509_privkey_t issuer_key
22 holds the issuer's private key
23
25 This function is the same a gnutls_x509_crt_sign2() with no flags, and
26 SHA1 as the hash algorithm.
27
28 Returns 0 on success.
29
31 Report bugs to <bug-gnutls@gnu.org>.
32
34 Copyright © 2006 Free Software Foundation.
35 Permission is granted to make and distribute verbatim copies of this
36 manual provided the copyright notice and this permission notice are
37 preserved on all copies.
38
40 The full documentation for gnutls is maintained as a Texinfo manual.
41 If the info and gnutls programs are properly installed at your site,
42 the command
43
44 info gnutls
45
46 should give you access to the complete manual.
47
48
49
50gnutls 1.6.3 gnutls_x509_crt_sign(3)