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 π
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
- 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