1gnutls_x509_crl_privkey_sign(3)     gnutls     gnutls_x509_crl_privkey_sign(3)
2
3
4

NAME

6       gnutls_x509_crl_privkey_sign - API function
7

SYNOPSIS

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

ARGUMENTS

16       gnutls_x509_crl_t crl
17                   should contain a gnutls_x509_crl_t type
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_SHA256 is the safe
27                   choice unless you know what you're doing.
28
29       unsigned int flags
30                   must be 0
31

DESCRIPTION

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       A known limitation of this function is, that a  newly-signed  CRL  will
40       not be fully functional (e.g., for signature verification), until it is
41       exported an re-imported.
42
43       After GnuTLS 3.6.1 the value of  dig may be GNUTLS_DIG_UNKNOWN, and  in
44       that  case,  a  suitable  but  reasonable for the key algorithm will be
45       selected.
46

RETURNS

48       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
49       error value.
50
51       Since 2.12.0
52

REPORTING BUGS

54       Report bugs to <bugs@gnutls.org>.
55       Home page: http://www.gnutls.org
56
57
59       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
60       Copying  and  distribution  of this file, with or without modification,
61       are permitted in any medium  without  royalty  provided  the  copyright
62       notice and this notice are preserved.
63

SEE ALSO

65       The  full  documentation  for gnutls is maintained as a Texinfo manual.
66       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
67       visit
68
69       http://www.gnutls.org/manual/
70
71gnutls                               3.6.5     gnutls_x509_crl_privkey_sign(3)
Impressum