1gnutls_x509_crl_privkey_sign(3) gnutls gnutls_x509_crl_privkey_sign(3)
2
3
4
6 gnutls_x509_crl_privkey_sign - API function
7
9 #include <gnutls/abstract.h>
10
11 int gnutls_x509_crl_privkey_sign(gnutls_x509_crl_t crl,
12 gnutls_x509_crt_t issuer, gnutls_privkey_t issuer_key,
13 gnutls_digest_algorithm_t 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_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
40 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
41 error value.
42
43 Since 2.12.0
44
46 Report bugs to <bugs@gnutls.org>.
47 Home page: http://www.gnutls.org
48
49
51 Copyright © 2001-2014 Free Software Foundation, Inc..
52 Copying and distribution of this file, with or without modification,
53 are permitted in any medium without royalty provided the copyright
54 notice and this notice are preserved.
55
57 The full documentation for gnutls is maintained as a Texinfo manual.
58 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
59 visit
60
61 http://www.gnutls.org/manual/
62
63gnutls 3.3.29 gnutls_x509_crl_privkey_sign(3)