1gnutls_x509_crl_sign2(3) gnutls gnutls_x509_crl_sign2(3)
2
3
4
6 gnutls_x509_crl_sign2 - This function will sign a CRL with a key
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crl_sign2(gnutls_x509_crl_t crl, gnutls_x509_crt_t
12 issuer, gnutls_x509_privkey_t issuer_key, gnutls_digest_algorithm_t
13 dig, unsigned int flags);
14
16 gnutls_x509_crl_t crl
17 should contain a gnutls_x509_crl_t structure
18
19 gnutls_x509_crt_t issuer
20 is the certificate of the certificate issuer
21
22 gnutls_x509_privkey_t issuer_key
23 holds the issuer's private key
24
25 gnutls_digest_algorithm_t dig
26 The message digest to use. GNUTLS_DIG_SHA1 is the safe
27 choice unless you know what you're doing.
28
29 unsigned int flags
30 must be 0
31
33 This function will sign the CRL with the issuer's private key, and will
34 copy the issuer's information into the CRL.
35
36 This must be the last step in a certificate CRL since all the previ‐
37 ously set parameters are now signed.
38
39 Returns 0 on success.
40
42 Report bugs to <bug-gnutls@gnu.org>.
43
45 Copyright © 2006 Free Software Foundation.
46 Permission is granted to make and distribute verbatim copies of this
47 manual provided the copyright notice and this permission notice are
48 preserved on all copies.
49
51 The full documentation for gnutls is maintained as a Texinfo manual.
52 If the info and gnutls programs are properly installed at your site,
53 the command
54
55 info gnutls
56
57 should give you access to the complete manual.
58
59
60
61gnutls 1.6.3 gnutls_x509_crl_sign2(3)