gnutls_privkey_import_pkcs11_url(3)
β¨ gnutls_privkey_import_pkcs11_url β¨
okay bestie, welcome to the gnutls manual, and today's main character is gnutls_privkey_import_pkcs11_url β an API function, no cap. sit with me, this one's actually so chill π
πΈ NAME πΈ
gnutls_privkey_import_pkcs11_url β literally an API function, that's the whole vibe π
π¦ SYNOPSIS π¦
#include <gnutls/abstract.h>
int gnutls_privkey_import_pkcs11_url(gnutls_privkey_t key, const char *
url);
like yes, that's the whole signature, it's giving minimal and iconic π
π ARGUMENTS π
gnutls_privkey_t keyβ a key of typegnutls_pubkey_t(that's what the docs say, fr fr, I'm just the messenger π)const char * urlβ a PKCS 11 url. that's it. that's the whole argument. iconic.
π DESCRIPTION π
so this function will import a PKCS 11 private key into a gnutls_privkey_t type. that's the entire job. it takes your url, it goes and gets the key, it drops it into your gnutls_privkey_t. slay β¨
π RETURNS π
on success, GNUTLS_E_SUCCESS (0) is returned β the little zero that means everything worked, we love her π«Ά
otherwise you get a negative error value. so if you see a negative number, that's the function being like "girl, no π"
β SINCE β
3.1.0 β she's been around since 3.1.0, a true veteran, highkey timeless π
π§ REPORTING BUGS π§
found something cursed? report bugs to <bugs@gnutls.org>.
home page: https://www.gnutls.org
bestie if you found a bug, please actually tell them, they wanna know π
π 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 it, 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, visit:
https://www.gnutls.org/manual/
and that's the whole page, bestie β from the gnutls manual, version 3.8.13, page gnutls_privkey_import_pkcs11_url(3). go import some keys, you've got this πβ¨π
π¦ 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