pskc_set_key_policy_expirydate(3)

πŸ’… pskc_set_key_policy_expirydate(3) β€” the libpskc glow-up

okay so bestie, we're deep in the libpskc manual (that's the libpskc library, and yes she's iconic), and today's main character is pskc_set_key_policy_expirydate. say it with me one time. slay.


✨ NAME ✨

pskc_set_key_policy_expirydate β€” an API function, fr fr. that's literally her whole job description πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pskc.h>

void pskc_set_key_policy_expirydate(pskc_key_t * key, const struct tm *
expirydate);

like, include the header first, obviously πŸ™ˆ


πŸŽ€ ARGUMENTS πŸŽ€

  • pskc_key_t * key β€” a pskc_key_t handle, and you get it from pskc_get_keypackage(). that's the plug, that's where she comes from 🫢
  • const struct tm * expirydate β€” a pointer to a tm struct holding the key policy expiry date you wanna set. it's giving "pass the pointer, not the vibe" ✨

🌸 DESCRIPTION 🌸

so what she does is set the PSKC KeyPackage Key Policy ExpiryDate. and that element? it denotes the expiry of the validity period of a key. periodt. the key has a window of validity, and this is where you mark when that window closes πŸ’… no cap.


πŸ‘‘ SINCE πŸ‘‘

2.2.0 β€” she's been around, she's got lore ⭐


πŸ”₯ REPORTING BUGS πŸ”₯

found a bug? don't suffer in silence, bestie 😭 report it 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. that's the license, and she ate πŸ”₯


ok that's the whole page, you're officially educated πŸ’– go forth and set those expiry dates, iykyk 🌈

sign-off era 🧚: this little beauty lives in libpskc, version 2.6.15, and she's your girl for pskc_set_key_policy_expirydate(3). mwah πŸ’‹ πŸ“

πŸ“¦ where this page comes from