gnutls_x509_crt_import_pkcs11(3)
β¨ gnutls_x509_crt_import_pkcs11(3) β¨
okay bestie, sit down, hydrate, because we're reading a gnutls man page together π this one lives in the gnutls manual, section 3, and it's about yeeting a PKCS 11 certificate into a gnutls_x509_crt_t like it's nothing. no cap.
πΈ NAME πΈ
gnutls_x509_crt_import_pkcs11 β literally an API function, that's the whole name, that's the whole vibe π
π¦ SYNOPSIS π¦
#include <gnutls/pkcs11.h>
int gnutls_x509_crt_import_pkcs11(gnutls_x509_crt_t crt,
gnutls_pkcs11_obj_t pkcs11_crt);
like, that's it. that's the incantation. copy it exactly, don't freestyle it π
π ARGUMENTS π
gnutls_x509_crt_t crtβ a certificate of typegnutls_x509_crt_t. yes the type is the name, we love a self-explanatory moment β¨gnutls_pkcs11_obj_t pkcs11_crtβ a PKCS 11 object that contains a certificate. it's the lil container holding your cert, the main character of this operation π«Ά
π DESCRIPTION π
so the way that this works is: this function will import a PKCS 11 certificate into a gnutls_x509_crt_t structure. that's the tea. that's the whole plot. you hand it the cert object, it becomes a gnutls_x509_crt_t, slay π§
β RETURNS β
on success, GNUTLS_E_SUCCESS (0) is returned π otherwise you get a negative error value, which is giving "something went wrong bestie, go check your inputs" π
π SINCE π
2.12.0 β an icon, an elder, been here since forever and still serving π
π REPORTING BUGS π
found a bug? not me being the one to tell you, but like, 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. fr fr, 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, visit:
https://www.gnutls.org/manual/
and that's the page, bestie!! π this lil masterpiece came to you from the gnutls manual, version 3.8.13, and honestly? iconic. go import some certificates, you absolute legend π
β¨π¦
π¦ 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