1pskc_set_key_algparm_resp_checkdigitsl(i3bp)psskkcc_set_key_algparm_resp_checkdigits(3)
2
3
4

NAME

6       pskc_set_key_algparm_resp_checkdigits - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       void pskc_set_key_algparm_resp_checkdigits(pskc_key_t * key, int check‐
12       digit);
13

ARGUMENTS

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

DESCRIPTION

22       Set the PSKC KeyPackage Key AlgorithmParameters  ResponseFormat  Check‐
23       Digits value.  This attribute indicates whether the device needs to ap‐
24       pend a Luhn check digit, as defined in [ISOIEC7812], to  the  response.
25       This is only valid if the 'Encoding' attribute is set to 'DECIMAL'.  If
26       the value is TRUE, then the device will append a Luhn  check  digit  to
27       the response.  If the value is FALSE, then the device will not append a
28       Luhn check digit to the response.
29

SINCE

31       2.2.0
32

REPORTING BUGS

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.p6s.k9c_set_key_algparm_resp_checkdigits(3)
Impressum