GNUTLS_X509_CRT_LIST_IMPORT_PKCS11(3)
π gnutls_x509_crt_list_import_pkcs11 π
okay bestie, listen up β this one lives in the gnutls manual (yes, the actual gnutls manual, the big one), and it's a whole API function, so buckle up π
β¨ NAME β¨
gnutls_x509_crt_list_import_pkcs11 β it's an API function, periodt π
πΈ SYNOPSIS πΈ
#include <gnutls/pkcs11.h>
int gnutls_x509_crt_list_import_pkcs11(gnutls_x509_crt_t * certs,
unsigned int cert_max, gnutls_pkcs11_obj_t *const objs, unsigned int
flags);
π¦ ARGUMENTS π¦
gnutls_x509_crt_t * certsβ literally just a list of certificates, and every single one of them is of typegnutls_x509_crt_tπunsigned int cert_maxβ the maximum size of the list, bestie. that's the ceiling, don't go over it πgnutls_pkcs11_obj_t *const objsβ a list of PKCS 11 objects β¨unsigned int flagsβ it's0for now. that's it. that's the whole vibe π
π DESCRIPTION π
so what does this icon actually do? she will import a PKCS 11 certificate list into a list of gnutls_x509_crt_t type π₯
β οΈ and this is the important part, no cap: these must not be initialized. like, don't touch them first, don't prep them, don't do a lil warm-up. leave them alone and let the function do her thing π
β RETURNS β
on success, you get GNUTLS_E_SUCCESS (0) back β slay π
otherwise? a negative error value. so if the number's negative, that's your sign something went sideways, iykyk π
π§ SINCE π§
2.12.0 β she's been around for a minute, a real veteran π
π REPORTING BUGS π
found a bug? don't just scream into the group chat, actually report it:
- bugs go 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, just keep the receipts π§Ύβ¨
π 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, then bestie, go visit:
https://www.gnutls.org/manual/
and that's the whole page, mwah π this was the gnutls man page, version 3.8.13, for gnutls_x509_crt_list_import_pkcs11 β stay hydrated, read your docs, and go import some certs responsibly π
ππ¦
π¦ 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