1pskc_get_key_policy_pinmaxfailedattepmlspiktbcsp_(sg3ke)ct_key_policy_pinmaxfailedattempts(3)
2
3
4

NAME

6       pskc_get_key_policy_pinmaxfailedattempts - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       uint32_t pskc_get_key_policy_pinmaxfailedattempts(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 PINPolicy MaxFailedAttempts value.
24       This attribute indicates the maximum number of times the PIN may be en‐
25       tered  wrongly  before  it  MUST NOT be possible to use the key anymore
26       (typical reasonable values are in the  positive  integer  range  of  at
27       least 2 and no more than 10).
28
29       If  present  is non-NULL, it will be 0 if the field is not present or 1
30       if it was present.
31

RETURNS

33       an integer holding the content.
34

REPORTING BUGS

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