pskc_set_key_policy_keyusages(3)

πŸ¦‹ pskc_set_key_policy_keyusages(3) πŸ¦‹

okay bestie, welcome to the libpskc manual page for pskc_set_key_policy_keyusages(3). yes, the name is highkey a tongue twister, but we're here and we're gonna understand it together. πŸ’…

πŸ’– NAME πŸ’–

pskc_set_key_policy_keyusages β€” API function. that's the whole name vibe: it's the function that sets key-policy key usages. 🫢

✨ SYNOPSIS ✨

#include <pskc.h>

void pskc_set_key_policy_keyusages(pskc_key_t * key, int keyusages);

🌸 ARGUMENTS 🌸

  • pskc_key_t * key β€” a pskc_key_t handle, from pskc_get_keypackage(). 🫢
  • int keyusages β€” integer with pskc_keyusage values ORed together. 🧚

πŸ”₯ DESCRIPTION πŸ”₯

Set the PSKC KeyPackage Key Policy KeyUsage values. ✨ the element is basically the ruleset: it puts constraints on the intended usage of the key. and the recipient of the PSKC document MUST enforce the key usage β€” like, all-caps MUST, bestie, this is not a suggestion. 🚨

πŸ‘‘ SINCE πŸ‘‘

2.2.0 β€” iconic, vintage, still relevant. πŸ’œ

😭 REPORTING BUGS 😭

got a bug? do not suffer in silence, bestie. 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. date: the footer didn't list a separate date, so no cap, I'm not making one up 😭. that's the page, bestie β€” now go set those key usages and slay. πŸ’…βœ¨

πŸ“¦ where this page comes from