1pskc_get_key_algparm_resp_checkdigitsl(i3bp)psskkcc_get_key_algparm_resp_checkdigits(3)
2
3
4

NAME

6       pskc_get_key_algparm_resp_checkdigits - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       int   pskc_get_key_algparm_resp_checkdigits(pskc_key_t  *  key,  int  *
12       present);
13

ARGUMENTS

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

DESCRIPTION

23       Get  the  PSKC KeyPackage Key AlgorithmParameters ResponseFormat Check‐
24       Digits value.  This attribute indicates whether  the  device  needs  to
25       append a Luhn check digit, as defined in [ISOIEC7812], to the response.
26       This is only valid if the 'Encoding' attribute is set to 'DECIMAL'.  If
27       the  value  is  TRUE, then the device will append a Luhn check digit to
28       the response.  If the value is FALSE, then the device will not append a
29       Luhn check digit to the response.
30
31       If  present  is non-NULL, it will be 0 if the field is not present or 1
32       if it was present.
33

RETURNS

35       1 to indicate a CheckDigits value of true, or 0 to indicate false.
36

REPORTING BUGS

38       Report bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home  page:
39       http://www.gnu.org/software/libpskc/  General  help using GNU software:
40       http://www.gnu.org/gethelp/
41
43       Copyright © 2012-2020 Simon Josefsson.
44       Copying and distribution of this file, with  or  without  modification,
45       are  permitted  in  any  medium  without royalty provided the copyright
46       notice and this notice are preserved.
47
48
49
50libpskc                              2.p6s.k6c_get_key_algparm_resp_checkdigits(3)
Impressum