1pskc_set_key_policy_pinmaxfailedattepmlspiktbcsp_(ss3ke)ct_key_policy_pinmaxfailedattempts(3)
2
3
4
6 pskc_set_key_policy_pinmaxfailedattempts - API function
7
9 #include <pskc.h>
10
11 void pskc_set_key_policy_pinmaxfailedattempts(pskc_key_t * key,
12 uint32_t attempts);
13
15 pskc_key_t * key
16 a pskc_key_t handle, from pskc_get_keypackage().
17
18 uint32_t attempts
19 number of attempts to set.
20
22 Set the PSKC KeyPackage Key Policy PINPolicy MaxFailedAttempts value.
23 This attribute indicates the maximum number of times the PIN may be en‐
24 tered wrongly before it MUST NOT be possible to use the key anymore
25 (typical reasonable values are in the positive integer range of at
26 least 2 and no more than 10).
27
29 2.2.0
30
32 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
33 https://www.nongnu.org/oath-toolkit/ General help using GNU software:
34 http://www.gnu.org/gethelp/
35
37 Copyright © 2012-2020 Simon Josefsson.
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright no‐
40 tice and this notice are preserved.
41
42
43
44libpskc ps2k.c6_.s9et_key_policy_pinmaxfailedattempts(3)