1pskc_set_key_data_timedrift(3)      libpskc     pskc_set_key_data_timedrift(3)
2
3
4

NAME

6       pskc_set_key_data_timedrift - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       void pskc_set_key_data_timedrift(pskc_key_t * key, uint32_t timedrift);
12

ARGUMENTS

14       pskc_key_t * key
15                   a pskc_key_t handle, from pskc_get_keypackage().
16
17       uint32_t timedrift
18                   the time drift value to set.
19

DESCRIPTION

21       Set  the  PSKC  KeyPackage Key Data TimeDrift value.  This element con‐
22       tains the device clock drift value for time-based OTP algorithms.   The
23       integer value (positive or negative drift) that indicates the number of
24       time intervals that a validation  server  has  established  the  device
25       clock  drifted after the last successful authentication.  So, for exam‐
26       ple, if the last successful authentication established  a  device  time
27       value  of  8  intervals  from  a specific start date but the validation
28       server determines the time value at  9  intervals,  the  server  SHOULD
29       record the drift as -1.
30

SINCE

32       2.2.0
33

REPORTING BUGS

35       Report  bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home page:
36       http://www.gnu.org/software/libpskc/ General help using  GNU  software:
37       http://www.gnu.org/gethelp/
38
40       Copyright © 2012-2016 Simon Josefsson.
41       Copying  and  distribution  of this file, with or without modification,
42       are permitted in any medium  without  royalty  provided  the  copyright
43       notice and this notice are preserved.
44
45
46
47libpskc                              2.6.2      pskc_set_key_data_timedrift(3)
Impressum