gnutls_x509_crl_sign(3)
π gnutls_x509_crl_sign(3) π
okay bestie, so this page lives in the gnutls manual and it's literally just called gnutls_x509_crl_sign β it's an API function, no cap. it's giving "sign a CRL and go", and honestly? iconic. π
β¨ SYNOPSIS β¨
lowkey the whole thing is just this:
#include <gnutls/x509.h>
int gnutls_x509_crl_sign(gnutls_x509_crl_t crl, gnutls_x509_crt_t issuer,
gnutls_x509_privkey_t issuer_key);
three arguments, one function, zero drama. π¦
πΈ ARGUMENTS πΈ
gnutls_x509_crl_t crlβ bestie this one should contain agnutls_x509_crl_ttype, that's the whole vibe. it's the CRL getting signed. πgnutls_x509_crt_t issuerβ this is the certificate of the certificate issuer. yes, the issuer's cert, not the key, not a vibe check, the actual cert. β¨gnutls_x509_privkey_t issuer_keyβ and this cutie holds the issuer's private key. keep it safe, keep it secret, periodt. π
π«Ά DESCRIPTION π«Ά
so this function is the same as gnutls_x509_crl_sign2() with no flags, plus an appropriate hash algorithm. that's it, that's the tea. β
the way that the hash algorithm used may vary between versions of GnuTLS β like, don't @ me, it's just how it is β and it's tied to the security level of the issuer's public key. so it's not a random pick, it's matched up. iykyk. π
β RETURNS β
on success, GNUTLS_E_SUCCESS (0) is returned. slay! π
otherwise you get a negative error value, which is the universe's way of saying "not today". π
π REPORTING BUGS π
found a bug? not me being the messenger, but pls report it to <bugs@gnutls.org>. π
home page: https://www.gnutls.org β go say hi. π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. fr fr, that's the whole rule. πβ¨
π₯ SEE ALSO π₯
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
go forth and read, bestie. π§π
and that's the whole page!! brought to you by gnutls 3.8.13, dated with the gnutls_x509_crl_sign(3) energy it deserves. mwah. π
ππ
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms