pskc_set_device_startdate(3)

πŸ’… pskc_set_device_startdate β€” like, the manual page, bestie

okay so this is a libpskc function and honestly? it's giving "small but mighty" ✨ it lives in section 3 of the manual, and it's here to help you stamp a start date onto a device. let's get into it 🫢


🌸 NAME 🌸

pskc_set_device_startdate β€” the API function that sets the device start date. that's it, that's the whole vibe πŸ’–


✨ SYNOPSIS ✨

#include <pskc.h>

void pskc_set_device_startdate(pskc_key_t * key, const struct tm *
startdate);

no cap, that's the whole signature β€” void return, two arguments, in and out πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pskc_key_t * key β€” a pskc_key_t handle, and you get it from pskc_get_keypackage(). that's your main character right there πŸ‘‘
  • const struct tm * startdate β€” a pointer to a tm struct holding the device starting date you wanna set. yes, a pointer, not the struct itself. we're being efficient πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

So what does it actually do? It sets the PSKC KeyPackage DeviceInfo StartDate. πŸ“…

And what does that element even mean? It denotes the start date of a device β€” like the one on a payment card, used when issue numbers are not printed on cards. iykyk, it's the fallback when there's no printed issue number to go off of πŸ¦πŸ’³

literally just: you hand it a key handle, you hand it a date, it does the thing. slay.


⭐ SINCE ⭐

2.2.0 β€” so it's been around a minute, lowkey iconic ✨


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found a bug? don't suffer in silence, bestie 😭 report it to <oath-toolkit-help@nongnu.org>.

fr fr, they wanna hear from you πŸ’–


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. 🫢


okay that's the whole page, you ate that πŸ’… this was libpskc version 2.6.15 bringing you pskc_set_device_startdate(3) β€” go set some dates, bestie, and remember: pointer to the tm struct, not the struct itself πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from