1pskc_set_key_policy_numberoftransactpilsoiknbcsp_(ss3ke)ct_key_policy_numberoftransactions(3)
2
3
4

NAME

6       pskc_set_key_policy_numberoftransactions - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       void    pskc_set_key_policy_numberoftransactions(pskc_key_t    *   key,
12       uint64_t uses);
13

ARGUMENTS

15       pskc_key_t * key
16                   a pskc_key_t handle, from pskc_get_keypackage().
17
18       uint64_t uses
19                   the number of transactions to set.
20

DESCRIPTION

22       Set the PSKC KeyPackage Key  Policy  NumberOfTransactions  value.   The
23       value  in this element indicates the maximum number of times a key car‐
24       ried within the PSKC document can be used by an application after  hav‐
25       ing received it.  When this element is omitted, there is no restriction
26       regarding the number of times a key can be used.
27
28       Note that while the PSKC specification uses the XML data type "nonNega‐
29       tiveInteger"  for this variable, this implementation restricts the size
30       of the value to 64-bit integers.
31

SINCE

33       2.2.0
34

REPORTING BUGS

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