pskc_get_key_data_timeinterval(3)
π pskc_get_key_data_timeinterval
okay so bestie, welcome to the libpskc corner of the universe β¨ this page is literally the manual for pskc_get_key_data_timeinterval(3) β yes that's a whole mouthful, we're gonna get through it together π«Ά
πΈ NAME
pskc_get_key_data_timeinterval β her whole job is one thing and she ate π
(it's an API function, iykyk)
β¨ SYNOPSIS
#include <pskc.h>
uint32_t pskc_get_key_data_timeinterval(pskc_key_t * key, int *
present);
like, that's the whole vibe. one include, one function call, zero drama π
π¦ ARGUMENTS
pskc_key_t * keyβ yourpskc_key_thandle, bestie. you get it frompskc_get_keypackage(). no handle, no data, we don't make the rules πint * presentβ an output variable that tells you whether the data was provided or not. she's the receipts-holder π
π₯ DESCRIPTION
so what does it actually do? it gets you the PSKC KeyPackage Key Data TimeInterval value. fancy name, simple job: this element carries the time interval value for time-based OTP algorithms, in seconds β±οΈ and a typical value for this would be 30, which means β you guessed it β a time interval of 30 seconds. iconic, honestly π
and about that present pointer: if present is non-NULL, then it'll be 0 if the field is not present, or 1 if it was present. literally a vibe check for your data π ngl it's giving boolean but make it int.
π§ RETURNS
an integer holding the content. that's it, that's the return π
π REPORTING BUGS
found a bug? don't suffer in silence, report it to <oath-toolkit-help@nongnu.org> π§
- libpskc home page:
https://oath-toolkit.codeberg.page/ - general help using GNU software:
http://www.gnu.org/gethelp/
we love a community that takes bug reports seriously π
π COPYRIGHT
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 bestie that's the whole page, go forth and read your time intervals πΈ this was libpskc version 2.6.15 and the page belongs to pskc_get_key_data_timeinterval(3) β mwah, take care of her π
β¨
π¦ where this page comes from
- arch rolling: oath-toolkit 2.6.15-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms