gnutls_pkcs7_delete_crt(3)
π gnutls_pkcs7_delete_crt β okay bestie, let's talk PKCS7 surgery
So this is a page from the gnutls manual, and it's all about one lil' function that yeets a certificate out of a set. The manual name is gnutls_pkcs7_delete_crt(3), iykyk. π
β¨ NAME β¨
gnutls_pkcs7_delete_crt β literally an API function, that's the whole name, no cap.
πΈ SYNOPSIS πΈ
#include <gnutls/pkcs7.h>
int gnutls_pkcs7_delete_crt(gnutls_pkcs7_t pkcs7, int indx);
π ARGUMENTS π
gnutls_pkcs7_t pkcs7β the pkcs7 type, bestie. it's the thing you're operating on.int indxβ the index of the certificate you wanna delete. yes, that certificate. π«Ά
π¦ DESCRIPTION π¦
Okay so here's the tea β β this function will delete a certificate from a PKCS7 or RFC2630 certificate set. That's it, that's the job.
And listen: the index starts from 0. Zero. Not one. Zero. Not me being dramatic, that's just how it is. π It returns 0 on success.
π RETURNS π
On success, GNUTLS_E_SUCCESS (which is 0, iconic) gets returned to you. Otherwise? You get a negative error value. So if your number is smol and sad, something went wrong. π
π₯ REPORTING BUGS π₯
Found a bug? Don't suffer in silence, bestie, report it:
- 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. Slay, honestly. π
π 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/
gnutls version 3.8.13, page gnutls_pkcs7_delete_crt(3) β that's the whole vibe check, bestie. go delete some certificates (by index, starting at zero, no cap) πβ¨π
π¦ 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