1pskc_set_key_algparm_chall_min(3) libpskc pskc_set_key_algparm_chall_min(3)
2
3
4
6 pskc_set_key_algparm_chall_min - API function
7
9 #include <pskc.h>
10
11 void pskc_set_key_algparm_chall_min(pskc_key_t * key, uint32_t
12 challmin);
13
15 pskc_key_t * key
16 a pskc_key_t handle, from pskc_get_keypackage().
17
18 uint32_t challmin
19 the minimum challenge length to set.
20
22 Set the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat Min
23 value. This attribute defines the minimum size of the challenge ac‐
24 cepted by the device for CR mode and MUST be included. If the 'Encod‐
25 ing' attribute is set to 'DECIMAL', 'HEXADECIMAL', or 'ALPHANUMERIC',
26 this value indicates the minimum number of digits/characters. If the
27 'Encoding' attribute is set to 'BASE64' or 'BINARY', this value indi‐
28 cates the minimum number of bytes of the unencoded value.
29
31 2.2.0
32
34 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
35 https://www.nongnu.org/oath-toolkit/ General help using GNU software:
36 http://www.gnu.org/gethelp/
37
39 Copyright © 2012-2020 Simon Josefsson.
40 Copying and distribution of this file, with or without modification,
41 are permitted in any medium without royalty provided the copyright no‐
42 tice and this notice are preserved.
43
44
45
46libpskc 2.6.9 pskc_set_key_algparm_chall_min(3)