1pskc_get_key_algparm_chall_checkdigitlsip(bs3pk)sck_cget_key_algparm_chall_checkdigits(3)
2
3
4
6 pskc_get_key_algparm_chall_checkdigits - API function
7
9 #include <pskc.h>
10
11 int pskc_get_key_algparm_chall_checkdigits(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 AlgorithmParameters ChallengeFormat Check‐
24 Digits value. This attribute indicates whether a device needs to check
25 the appended Luhn check digit, as defined in [ISOIEC7812], contained in
26 a challenge. This is only valid if the 'Encoding' attribute is set to
27 'DECIMAL'. A value of TRUE indicates that the device will check the
28 appended Luhn check digit in a provided challenge. A value of FALSE
29 indicates that the device will not check the appended Luhn check digit
30 in the challenge.
31
32 If present is non-NULL, it will be 0 if the field is not present or 1
33 if it was present.
34
36 1 to indicate a CheckDigits value of true, or 0 to indicate false.
37
39 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
40 http://www.gnu.org/software/libpskc/ General help using GNU software:
41 http://www.gnu.org/gethelp/
42
44 Copyright © 2012-2020 Simon Josefsson.
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright
47 notice and this notice are preserved.
48
49
50
51libpskc 2p.s6k.c6_get_key_algparm_chall_checkdigits(3)