gnutls_pkcs11_obj_export_url(3)

✨ gnutls_pkcs11_obj_export_url ✨

okay bestie, we're in the gnutls manual and today's main character is gnutls_pkcs11_obj_export_url πŸ’… it's an API function, so yeah, it's giving C-coded, but we're gonna get through this together 🫢


🌸 NAME 🌸

gnutls_pkcs11_obj_export_url β€” literally the API function that does the thing πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/pkcs11.h>

int gnutls_pkcs11_obj_export_url(gnutls_pkcs11_obj_t obj,
gnutls_pkcs11_url_type_t detailed, char ** url);

that's the whole vibe right there, no cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_pkcs11_obj_t obj β€” holds the PKCS 11 certificate πŸ’œ like, this is the object we're shipping off
  • gnutls_pkcs11_url_type_t detailed β€” non zero if a detailed URL is required πŸ‘‘ so like, if you want the full lore, don't leave it at zero
  • char ** url β€” will contain an allocated url 🌈 yes bestie, it's allocated, it's yours now, that's the deal

πŸ’– DESCRIPTION πŸ’–

this function will export a URL identifying the given object. periodt. that's it, that's the function πŸŽ€


⭐ RETURNS ⭐

on success, GNUTLS_E_SUCCESS (0) is returned β€” slay πŸ”₯ otherwise you get a negative error value, which is giving less than ideal ngl 😭


🌸 SINCE 🌸

2.12.0 β€” an icon, an OG, been here forever πŸ’…


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? do NOT gatekeep, tell the people 🫢 report bugs to <bugs@gnutls.org>.

home page: https://www.gnutls.org β€” go, be nosy, it's free πŸ’œ


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. yes bestie, it's that free and that easy 🌈


🧚 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/

like, go read it, iykyk πŸ‘‘


okay that's the whole page, you ate that πŸ’…βœ¨ this was gnutls version 3.8.13 talking, from the gnutls_pkcs11_obj_export_url(3) era, mwah πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from