pskc_set_key_a..._resp_encoding(3)

πŸ’… pskc_set_key_a..._resp_encoding(3) β€” a libpskc moment

okay so bestie, welcome to the libpskc glow-up manual page, where we set the encoding for the response format of a key's algorithm parameters πŸ’– yes the function name is a whole paragraph, we don't talk about it, we just slay.


✨ NAME ✨

pskc_set_key_algparm_resp_encoding β€” literally the API function, that's her, that's the whole name πŸŽ€

🌸 SYNOPSIS 🌸

#include <pskc.h>

void pskc_set_key_algparm_resp_encoding(pskc_key_t * key,
pskc_valueformat vf);

like yes, two args, both important, no notes πŸ’…

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pskc_key_t * key β€” your pskc_key_t handle, the one you got from pskc_get_keypackage(). she's the main character here, hand her over 🫢
  • pskc_valueformat vf β€” the pskc_valueformat encoding type you wanna set. that's the vibe check for the encoding πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so what this actually does: it sets the PSKC KeyPackage Key AlgorithmParameters ResponseFormat Encoding value ✨

and this attribute? it defines the encoding of the response that the device generates. and hear me β€” it MUST be included πŸ‘‘ not optional, not "eh maybe later", it's mandatory fr fr. no cap, it's required 😭

⭐ SINCE ⭐

2.2.0 β€” she's been iconic since 2.2.0, we stan a legacy πŸ’–

πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't suffer in silence, report it to <oath-toolkit-help@nongnu.org> πŸ›πŸ’Œ

Copyright Β© 2009-2026 Simon Josefsson.

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, remix her, just keep the credit 🫢✨


bestie reminder: this is the libpskc manual page, and the footer energy is libpskc 2.6.15 β€” so if you're citing her, that's the version + source you're living in πŸ’…πŸ¦‹ mwah, go set some encodings, you got this πŸ’–πŸŒˆ
πŸ“¦ where this page comes from