pskc_keyusage2str(3)

πŸ¦‹ pskc_keyusage2str(3) β€” a libpskc manual page, bestie πŸ¦‹

Okay so this is the libpskc page for pskc_keyusage2str(3), and it is lowkey a tiny glow-up machine: it turns a pskc_keyusage enum into a string. No cap, that is the whole vibe.


πŸ’– NAME πŸ’–

pskc_keyusage2str β€” API function. Yes bestie, that is the name and the job title.

✨ SYNOPSIS ✨

#include <pskc.h>

const char * pskc_keyusage2str(pskc_keyusage keyusage);

🌸 ARGUMENTS 🌸

  • pskc_keyusage keyusage β€” an pskc_keyusage enumeration type. That is the enum cutie you are handing over. 🫢

πŸŽ€ DESCRIPTION πŸŽ€

Convert pskc_keyusage to a string. Like, for example, pskc_keyusage2str(PSKC_KEYUSAGE_OTP) will return "OTP". Iconic.

The returned string must not be deallocated. Not even a little. Do not free it, bestie β€” it is not yours to deallocate. πŸ’…

⭐ RETURNS ⭐

String corresponding to pskc_keyusage. That is the string you get back, matching the enum you passed in. Slay.

πŸ› REPORTING BUGS πŸ›

Report bugs 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.


πŸ’Œ Sign-off: this page is from libpskc version 2.6.15, and the footer did not include a date, so I am not inventing one β€” periodt. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from