1pskc_set_key_algparm_chall_checkdigitlsip(bs3pk)sck_cset_key_algparm_chall_checkdigits(3)
2
3
4
6 pskc_set_key_algparm_chall_checkdigits - API function
7
9 #include <pskc.h>
10
11 void pskc_set_key_algparm_chall_checkdigits(pskc_key_t * key, int
12 checkdigit);
13
15 pskc_key_t * key
16 a pskc_key_t handle, from pskc_get_keypackage().
17
18 int checkdigit
19 non-zero to indicate setting true CheckDigit, 0 otherwise.
20
22 Set the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat Check‐
23 Digits value. This attribute indicates whether a device needs to check
24 the appended Luhn check digit, as defined in [ISOIEC7812], contained in
25 a challenge. This is only valid if the 'Encoding' attribute is set to
26 'DECIMAL'. A value of TRUE indicates that the device will check the
27 appended Luhn check digit in a provided challenge. A value of FALSE
28 indicates that the device will not check the appended Luhn check digit
29 in the challenge.
30
32 2.2.0
33
35 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
36 http://www.gnu.org/software/libpskc/ General help using GNU software:
37 http://www.gnu.org/gethelp/
38
40 Copyright © 2012-2016 Simon Josefsson.
41 Copying and distribution of this file, with or without modification,
42 are permitted in any medium without royalty provided the copyright
43 notice and this notice are preserved.
44
45
46
47libpskc 2p.s6k.c2_set_key_algparm_chall_checkdigits(3)