1pskc_get_key_data_timeinterval(3)   libpskc  pskc_get_key_data_timeinterval(3)
2
3
4

NAME

6       pskc_get_key_data_timeinterval - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       uint32_t   pskc_get_key_data_timeinterval(pskc_key_t   *   key,  int  *
12       present);
13

ARGUMENTS

15       pskc_key_t * key
16                   a pskc_key_t handle, from pskc_get_keypackage().
17
18       int * present
19                   output variable indicating whether  data  was  provided  or
20                   not.
21

DESCRIPTION

23       Get the PSKC KeyPackage Key Data TimeInterval value.  This element car‐
24       ries the time interval value for time-based OTP algorithms  in  seconds
25       (a typical value for this would be 30, indicating a time interval of 30
26       seconds).
27
28       If present is non-NULL, it will be 0 if the field is not present  or  1
29       if it was present.
30

RETURNS

32       an integer holding the content.
33

REPORTING BUGS

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