pskc_set_key_policy_pinkeyid(3)

πŸ’… pskc_set_key_policy_pinkeyid(3) β€” the libpskc manual page, bestie

🌸 NAME 🌸

pskc_set_key_policy_pinkeyid β€” API function. That's the whole name, and honestly it's giving β€œI have a very specific job and I'm gonna do it” energy. ✨

✨ SYNOPSIS ✨

#include <pskc.h>

void pskc_set_key_policy_pinkeyid(pskc_key_t * key, const char *
pinkeyid);

🫢 ARGUMENTS 🫢

  • pskc_key_t * key β€” a pskc_key_t handle, from pskc_get_keypackage(). That's your main-character key handle, okay? πŸ‘‘
  • const char * pinkeyid β€” the pin key id value to set. That's it, that's the assignment. πŸŽ€

πŸ‘‘ DESCRIPTION πŸ‘‘

Okay so this function sets the PSKC KeyPackage Key Policy PINPolicy PINKeyId value. Yes, that's a lot of words, but it's literally the whole vibe: very specific, very policy, very PINKeyId. πŸ’…

This attribute carries the unique 'Id' attribute vale of the "Key" element held within this "KeyContainer" that contains the value of the PIN that protects the key. Yes, the original really says vale, and I'm keeping it, bestie β€” no cap. 😭🫢

⚠️ pointer tea, and this part matters: the pointer is stored in container, not a copy of the data. So you must not deallocate the data before another call to this function or the last call to any function using container. Keep it alive, okay? That's the safety vibe check. πŸ’€

πŸ’– SINCE πŸ’–

2.2.0 β€” that's when this icon entered the chat. πŸŽ€

πŸ› REPORTING BUGS πŸ›

Bugs? Do not suffer in silence, bestie. 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.

periodt. πŸ’œ


okay bye bestie πŸ¦‹πŸ’… the footer's source/version is libpskc version 2.6.15, and this page is pskc_set_key_policy_pinkeyid(3); there's no date in the footer, so I'm not inventing one β€” mwah. πŸ’–

πŸ“¦ where this page comes from