pskc_get_key_policy_expirydate(3)

✨ NAME ✨

Okay bestie, this is pskc_get_key_policy_expirydate from libpskc β€” an API function, and it's literally here to hand you the KeyPolicy ExpiryDate. Periodt. πŸ’…

🌸 SYNOPSIS 🌸

#include <pskc.h>

const struct tm * pskc_get_key_policy_expirydate(pskc_key_t * key);

πŸŽ€ ARGUMENTS πŸŽ€

  • pskc_key_t * key β€” a pskc_key_t handle, and you get it from pskc_get_keypackage(). That's the vibe. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Get the PSKC KeyPackage Key Policy ExpiryDate. This element denotes the expiry of the validity period of a key. No cap, that's the whole thing. ✨

πŸ’– RETURNS πŸ’–

You get back a constant struct (must not be deallocated) holding the content, or NULL if it's not set. So do not deallocate it, bestie β€” it's giving borrowed-data energy. πŸ™ˆ

πŸ”₯ REPORTING BUGS πŸ”₯

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.


xoxo, libpskc 2.6.15 πŸ’– slay and read the docs πŸŽ€

πŸ“¦ where this page comes from