1pskc_get_key_data_time(3) libpskc pskc_get_key_data_time(3)
2
3
4
6 pskc_get_key_data_time - API function
7
9 #include <pskc.h>
10
11 uint32_t pskc_get_key_data_time(pskc_key_t * key, int * present);
12
14 pskc_key_t * key
15 a pskc_key_t handle, from pskc_get_keypackage().
16
17 int * present
18 output variable indicating whether data was provided or
19 not.
20
22 Get the PSKC KeyPackage Key Data Time value. This element contains the
23 time for time-based OTP algorithms. (If time intervals are used, this
24 element carries the number of time intervals passed from a specific
25 start point, normally it is algorithm dependent).
26
27 If present is non-NULL, it will be 0 if the field is not present or 1
28 if it was present.
29
31 an integer holding the content.
32
34 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
35 https://www.nongnu.org/oath-toolkit/ General help using GNU software:
36 http://www.gnu.org/gethelp/
37
39 Copyright © 2012-2020 Simon Josefsson.
40 Copying and distribution of this file, with or without modification,
41 are permitted in any medium without royalty provided the copyright no‐
42 tice and this notice are preserved.
43
44
45
46libpskc 2.6.7 pskc_get_key_data_time(3)