pskc_get_key_a..._chall_encoding(3)

🌸 NAME 🌸

pskc_get_key_algparm_chall_encoding β€” API function πŸ’…. Welcome to the libpskc page for this one, bestie; the function name is long, but the vibes are immaculate.

✨ SYNOPSIS ✨

#include <pskc.h>

pskc_valueformat pskc_get_key_algparm_chall_encoding(pskc_key_t * key,
       int * present);

πŸŽ€ ARGUMENTS πŸŽ€

  • pskc_key_t * key β€” a pskc_key_t handle, and you get it from pskc_get_keypackage(). That's the source, no cap πŸ”‘.
  • int * present β€” output variable indicating whether data was provided or not. It's literally the presence-check bestie πŸ“.

πŸ’– DESCRIPTION πŸ’–

Get the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat Encoding value. This attribute defines the encoding of the challenge accepted by the device β€” it's giving "challenge encoding tea" ✨.

If present is non-NULL, it will be 0 if the field is not present or 1 if it was present. So you get the whole will-they-won't-they presence report, iconically πŸ“.

πŸ¦‹ RETURNS πŸ¦‹

an pskc_valueformat value β€” that's the return, periodt πŸ’….

πŸ› REPORTING BUGS πŸ›

Report bugs to <oath-toolkit-help@nongnu.org> πŸ“¬.

libpskc home page: https://oath-toolkit.codeberg.page/

General help using GNU software: http://www.gnu.org/gethelp/

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.


Cute sign-off: this page is from libpskc version 2.6.15, and no date is shown on the page β€” so that's the footer tea, bestie. Stay slay πŸ’–πŸ‘‘.

πŸ“¦ where this page comes from