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β anpskc_keyusageenumeration 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>.
- libpskc home page:
https://oath-toolkit.codeberg.page/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
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
- arch rolling: oath-toolkit 2.6.15-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms