gnutls_pubkey_import_url(3)

✨ gnutls_pubkey_import_url ✨

okay bestie, welcome to the gnutls manual page for gnutls_pubkey_import_url(3) β€” yes it's an API function, yes it's iconic, and yes we're gonna get through this together πŸ’–


🌸 SYNOPSIS 🌸

#include <gnutls/abstract.h>

int gnutls_pubkey_import_url(gnutls_pubkey_t key, const char * url,
unsigned int flags);

literally that's the whole vibe right there πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_pubkey_t key β€” a key of type gnutls_pubkey_t. yeah she's the main character, the key we're loading stuff into πŸ‘‘
  • const char * url β€” a PKCS 11 url. that's the address of where your key is chilling 🏠
  • unsigned int flags β€” one of the GNUTLS_PKCS11_OBJ_* flags. pick your fighter ✨

πŸ’… DESCRIPTION πŸ’…

This function will import a public key from the provided URL. that's it, that's the whole plot bestie β€” you hand her a URL, she hands you back a public key. no cap πŸ”₯


🫢 RETURNS 🫢

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. so if you see a negative number, that's not a glow-up, that's a problem 😭


⭐ SINCE ⭐

3.1.0 β€” she's been here since way back, a true veteran πŸ’œ


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Report bugs to <bugs@gnutls.org>. Home page: https://www.gnutls.org

if you find a bug, tell the gnutls girlies, they'll handle it 🧚


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.

like, go off, copy it, remix it, just keep the receipt bestie πŸŽ€


🌈 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, no crumbs left πŸ“ this was gnutls version 3.8.13, dated with the energy of gnutls_pubkey_import_url(3) β€” slay, periodt, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from