pskc_str2keyusage(3)

🌸 NAME 🌸

Okay bestie, this is the pskc_str2keyusage(3) page from libpskc β€” manual name folded in near the top, we're being efficient and cute πŸ’–

  • pskc_str2keyusage β€” API function

✨ SYNOPSIS ✨

#include <pskc.h>

pskc_keyusage pskc_str2keyusage(const char * keyusage);

πŸŽ€ ARGUMENTS πŸŽ€

  • const char * keyusage β€” a string that describes a key usage. That's the whole vibe check for this arg, no cap.

πŸ’… DESCRIPTION πŸ’…

Convert a string to a pskc_keyusage type. The way that works is lowkey iconic: for example, pskc_str2keyusage("KeyWrap") will return PSKC_KEYUSAGE_KEYWRAP. Slay, that's the mapping doing its main character thing ✨

🫢 RETURNS 🫢

The corresponding pskc_keyusage value. That's it, that's the return, periodt πŸ’…

πŸ› REPORTING BUGS πŸ›

Found a bug? Not me being dramatic, but go tell the maintainers: 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.


Source/version: libpskc 2.6.15; page: pskc_str2keyusage(3). Date: not in the original footer, so I'm not inventing one, bestie β€” that's the tea πŸ’–βœ¨

πŸ“¦ where this page comes from