gnutls_x509_crl_export(3)
π gnutls_x509_crl_export β bestie edition π
okay so this one lives in the gnutls manual (section 3, the library-functions girlies β¨) and it's literally called gnutls_x509_crl_export. no cap, that's the whole name. let's get into it π«Ά
β¨ NAME β¨
gnutls_x509_crl_export β it's an API function, bestie. that's the vibe. π
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crl_export(gnutls_x509_crl_t crl, gnutls_x509_crt_fmt_t
format, void * output_data, size_t * output_data_size);
like. look at her. main character signature fr fr π
π ARGUMENTS π
gnutls_x509_crl_t crlβ this bad girl holds the revocation list. she's the whole point, ok? the CRL in question.gnutls_x509_crt_fmt_t formatβ the format of the output params. it's one ofPEMorDER, pick your fighter π«void * output_dataβ this is gonna contain a private key PEM or DER encoded. yeah that's what the manpage says, we're not questioning it, we're just delivering the facts bestie πsize_t * output_data_sizeβ holds the size ofoutput_data, and it will be replaced by the actual size of the parameters. so it's a lil two-way street, she goes in with one value and comes out with another. iconic behavior honestly β¨
π¦ DESCRIPTION π¦
so basically, this function will export the revocation list to DER or PEM format. that's it, that's the job. she ate and left no crumbs π
and like, important detail: if the buffer you provided is not long enough to hold the output, then GNUTLS_E_SHORT_MEMORY_BUFFER gets returned. so don't come crying when your buffer's too smol β the function will literally tell you. periodt π
also! if the structure is PEM encoded, it's gonna have a header of "BEGIN X509 CRL". cute little banner for your cute little CRL, we love to see it π
β RETURNS β
on success, GNUTLS_E_SUCCESS (0) is returned π otherwise you get a negative error value. so like, zero is the good one, negative means something went sideways. vibe check accordingly π
π REPORTING BUGS π
found a bug? don't gatekeep, tell the girlies. report bugs to <bugs@gnutls.org> π«Ά
home page: https://www.gnutls.org
π 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. so like, go off, share the love, just keep the receipts bestie π§
π 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/
iykyk, that's where the deep lore lives πβ¨
ok that's the whole page, no notes, we kept every single detail because that's what besties do π
and that's a wrap! this page came to you from gnutls 3.8.13 β mwah, slay, bye ππ π
π¦ 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