1pskc_set_key_data_counter(3) libpskc pskc_set_key_data_counter(3)
2
3
4
6 pskc_set_key_data_counter - API function
7
9 #include <pskc.h>
10
11 void pskc_set_key_data_counter(pskc_key_t * key, uint64_t counter);
12
14 pskc_key_t * key
15 a pskc_key_t handle, from pskc_get_keypackage().
16
17 uint64_t counter
18 counter value to set.
19
21 Set the PSKC KeyPackage Key Data Counter value. This element contains
22 the event counter for event-based OTP algorithms.
23
25 2.2.0
26
28 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
29 https://www.nongnu.org/oath-toolkit/ General help using GNU software:
30 http://www.gnu.org/gethelp/
31
33 Copyright © 2012-2020 Simon Josefsson.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright no‐
36 tice and this notice are preserved.
37
38
39
40libpskc 2.6.9 pskc_set_key_data_counter(3)