gnutls_pubkey_import_dsa_raw(3)

πŸ’… gnutls_pubkey_import_dsa_raw β€” from the gnutls manual, bestie edition

okay so. this is a page out of the gnutls manual (that's the manual name, it's literally called gnutls), and we're talking about one very specific little function. buckle up πŸŽ€


✨ NAME ✨

gnutls_pubkey_import_dsa_raw β€” it's an API function, bestie. that's the whole name. no notes. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/abstract.h>

int gnutls_pubkey_import_dsa_raw(gnutls_pubkey_t key, const
gnutls_datum_t * p, const gnutls_datum_t * q, const gnutls_datum_t * g,
const gnutls_datum_t * y);

like. look at her. five parameters. she's doing the absolute most and we love her for it πŸ’–


🌸 ARGUMENTS 🌸

  • gnutls_pubkey_t key β€” this is the lil structure where the parsed key gets stored. she's the container, the moment, the destination. πŸ’«
  • const gnutls_datum_t * p β€” holds the p. yes that's it, that's the description, it holds the p. ngl sometimes the docs are just Like That 😭
  • const gnutls_datum_t * q β€” holds the q. iconic. no further elaboration. ✨
  • const gnutls_datum_t * g β€” holds the g. slay.
  • const gnutls_datum_t * y β€” holds the y. and that's the whole squad right there 🫢

πŸ’œ DESCRIPTION πŸ’œ

so what does she actually do? this function takes the raw DSA parameters you hand her and converts them into the native gnutls_pubkey_t format. the output? stored in key. that's the vibe check and she passed it βœ…


⭐ RETURNS ⭐

if everything goes right you get GNUTLS_E_SUCCESS (which is 0, the beautiful number, the moment of peace πŸ•ŠοΈ). otherwise? a negative error value. not zero. negative. she's telling you something went wrong, respectfully πŸ’€


🌈 SINCE 🌈

2.12.0 β€” she's been here since 2.12.0, an absolute veteran, a legacy icon, main character energy since day one πŸ‘‘


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? first of all, not the vibe. second of all, tell the people:


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, you can share it, just keep the receipts πŸ’–)


πŸ”₯ SEE ALSO πŸ”₯

the full documentation for gnutls lives in a Texinfo manual. if the /usr/share/doc/gnutls/ directory isn't giving HTML form realness, then go visit:

https://www.gnutls.org/manual/


lowkey reminder: i kept every single fact exactly where it was, no cap. the vibe is new, the details are untouched. periodt. πŸ’…

and that's a wrap, bestie! this page came from gnutls version 3.8.13, and yes, the manual name is just gnutls. ty for reading my little page, love u, bye πŸ¦‹βœ¨πŸŒΈ

πŸ“¦ where this page comes from