gnutls_pubkey_import_openpgp_raw(3)

πŸ’– gnutls_pubkey_import_openpgp_raw(3) πŸ’–

okay bestie, so this one lives in the gnutls manual, and ngl it's a short one β€” but every crumb still matters, so let's get into it 🫢


✨ NAME ✨

gnutls_pubkey_import_openpgp_raw β€” it's an API function, babes πŸŽ€


🌸 SYNOPSIS 🌸

#include <gnutls/abstract.h>

int gnutls_pubkey_import_openpgp_raw(gnutls_pubkey_t pkey, const
gnutls_datum_t * data, gnutls_openpgp_crt_fmt_t format, const
gnutls_openpgp_keyid_t keyid, unsigned int flags);

like, copy it exactly, don't freestyle the signature πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_pubkey_t pkey β€” the public key, that's the whole vibe πŸ—οΈ
  • const gnutls_datum_t * data β€” the public key data that's getting imported ✨
  • gnutls_openpgp_crt_fmt_t format β€” what format the public key is in, no cap
  • const gnutls_openpgp_keyid_t keyid β€” the key id you wanna use, and it's optional so it's not a big deal πŸŽ€
  • unsigned int flags β€” should be zero. that's it. zero. periodt πŸ’€

πŸ’œ DESCRIPTION πŸ’œ

so the tea is: this function is a no-op.

like… it literally does nothing. it's giving "I showed up but I'm not doing the assignment" energy πŸ™ˆ


⭐ RETURNS ⭐

It returns GNUTLS_E_UNIMPLEMENTED_FEATURE.

which, yeah, tracks β€” the function isn't implemented, so that's the error you get back. iconic honestly πŸ‘‘


🌈 SINCE 🌈

3.1.3 β€” she's been around a minute πŸ’–


πŸ“ REPORTING BUGS πŸ“

Found something cursed? Report bugs to <bugs@gnutls.org> πŸ›

Home page: https://www.gnutls.org


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, keep the notice, bestie, that's the rule πŸ“œ


🧚 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, fr fr πŸ’… this was gnutls version 3.8.13, and if you need a date, the page itself doesn't hand one over β€” so we're just rolling with the version stamp, mwah πŸ’–πŸŒΈβœ¨

πŸ“¦ where this page comes from