gnutls_pkcs11_obj_import_url(3)
π gnutls_pkcs11_obj_import_url(3) π
okay bestie, so this one lives in the gnutls manual, and it's literally the glow-up moment where a PKCS 11 URL becomes a whole object. no cap. π
β¨ NAME β¨
gnutls_pkcs11_obj_import_url β the API function that pulls a PKCS 11 object into your vibes π
πΈ SYNOPSIS πΈ
#include <gnutls/pkcs11.h>
int gnutls_pkcs11_obj_import_url(gnutls_pkcs11_obj_t obj, const char *
url, unsigned int flags);
π¦ ARGUMENTS π¦
gnutls_pkcs11_obj_t objβ the structure that's gonna hold the object. it's giving "designated storage bestie". π«Άconst char * urlβ a PKCS 11 url identifying the key. yes the whole thing hinges on this url, it's the main character. πunsigned int flagsβ or sequence ofGNUTLS_PKCS11_OBJ_*flags. mix and match, it's your era. β¨
π DESCRIPTION π
so what does this function DO? it will "import" a PKCS 11 URL identifying an object (e.g. certificate) into the gnutls_pkcs11_obj_t type. that's the whole arc. π
and listen β this does not involve any parsing (such as X.509 or OpenPGP), because the gnutls_pkcs11_obj_t is format agnostic. it literally does not care what the format is, it's above all that. only data are transferred. that's it. periodt. π
if the flag GNUTLS_PKCS11_OBJ_FLAG_OVERWRITE_TRUSTMOD_EXT is specified, any certificate read will have its extensions overwritten by any stapled extensions in the trust module. yes, overwritten. the trust module said "i'm the blueprint now". π
β RETURNS β
on success, GNUTLS_E_SUCCESS (0) is returned π otherwise you get a negative error value, which is the "not me getting a negative value" moment. π
π°οΈ SINCE π°οΈ
2.12.0 β been iconic since way back, fr fr.
π REPORTING BUGS π
found a bug? spill it, bestie:
- 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, and also legally binding. πΈ
π 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 import urls, bestie. you got this. π«Άβ¨
okay that's the whole page β this came from gnutls version 3.8.13, manual page gnutls_pkcs11_obj_import_url(3). mwah, 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