1pskc_get_key_policy_pinmaxfailedattepmlspiktbcsp_(sg3ke)ct_key_policy_pinmaxfailedattempts(3)
2
3
4
6 pskc_get_key_policy_pinmaxfailedattempts - API function
7
9 #include <pskc.h>
10
11 uint32_t pskc_get_key_policy_pinmaxfailedattempts(pskc_key_t * key, int
12 * present);
13
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
23 Get the PSKC KeyPackage Key Policy PINPolicy MaxFailedAttempts value.
24 This attribute indicates the maximum number of times the PIN may be
25 entered 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
33 an integer holding the content.
34
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_.g2et_key_policy_pinmaxfailedattempts(3)