1pskc_get_key_policy_numberoftransactpilsoiknbcsp_(sg3ke)ct_key_policy_numberoftransactions(3)
2
3
4

NAME

6       pskc_get_key_policy_numberoftransactions - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       uint64_t pskc_get_key_policy_numberoftransactions(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 Policy NumberOfTransactions value.  The
24       value in this element indicates the maximum number of times a key  car‐
25       ried  within the PSKC document can be used by an application after hav‐
26       ing received it.  When this element is omitted, there is no restriction
27       regarding the number of times a key can be used.
28
29       Note that while the PSKC specification uses the XML data type "nonNega‐
30       tiveInteger" for this variable, this implementation restricts the  size
31       of the value to 64-bit integers.
32
33       If  present  is  non-NULL,  it  will  be  0 if the Counter field is not
34       present or 1 if it was present.
35

RETURNS

37       an integer holding the content.
38

REPORTING BUGS

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