1pskc_get_key_data_counter(3) libpskc pskc_get_key_data_counter(3)
2
3
4
6 pskc_get_key_data_counter - API function
7
9 #include <pskc.h>
10
11 uint64_t pskc_get_key_data_counter(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 Counter value. This element contains
23 the event counter for event-based OTP algorithms.
24
25 If present is non-NULL, it will be 0 if the Counter field is not
26 present or 1 if it was present.
27
29 an integer holding the content.
30
32 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
33 http://www.gnu.org/software/libpskc/ General help using GNU software:
34 http://www.gnu.org/gethelp/
35
37 Copyright © 2012-2016 Simon Josefsson.
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright
40 notice and this notice are preserved.
41
42
43
44libpskc 2.6.2 pskc_get_key_data_counter(3)