1pskc_set_key_algparm_chall_max(3) libpskc pskc_set_key_algparm_chall_max(3)
2
3
4
6 pskc_set_key_algparm_chall_max - API function
7
9 #include <pskc.h>
10
11 void pskc_set_key_algparm_chall_max(pskc_key_t * key, uint32_t chall‐
12 max);
13
15 pskc_key_t * key
16 a pskc_key_t handle, from pskc_get_keypackage().
17
18 uint32_t challmax
19 the maximum challenge length to set.
20
22 Set the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat Max
23 value. This attribute defines the maximum size of the challenge
24 accepted by the device for CR mode and MUST be included. If the dig‐
25 its/characters. If the 'Encoding' attribute is set to 'BASE64' or
26 'BINARY', this value indicates the maximum number of bytes of the unen‐
27 coded value.
28
30 2.2.0
31
33 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
34 http://www.gnu.org/software/libpskc/ General help using GNU software:
35 http://www.gnu.org/gethelp/
36
38 Copyright © 2012-2016 Simon Josefsson.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42
43
44
45libpskc 2.6.2 pskc_set_key_algparm_chall_max(3)