1pskc_set_key_policy_pinmaxlength(3) libpskcpskc_set_key_policy_pinmaxlength(3)
2
3
4

NAME

6       pskc_set_key_policy_pinmaxlength - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       void   pskc_set_key_policy_pinmaxlength(pskc_key_t   *   key,  uint32_t
12       maxlength);
13

ARGUMENTS

15       pskc_key_t * key
16                   a pskc_key_t handle, from pskc_get_keypackage().
17
18       uint32_t maxlength
19                   the length to set.
20

DESCRIPTION

22       Set the PSKC KeyPackage Key Policy  PINPolicy  MaxLength  value.   This
23       attribute indicates the maximum length of a PIN that can be set to pro‐
24       tect this key.  It MUST NOT be possible to set a PIN longer  than  this
25       value.   If  the  'PINFormat' attribute is set to 'DECIMAL', 'HEXADECI‐
26       MAL', or 'ALPHANUMERIC', this value indicates  the  number  of  digits/
27       characters.   If  the  'PINFormat'  attribute  is  set  to  'BASE64' or
28       'BINARY', this value indicates the number of  bytes  of  the  unencoded
29       value.
30

SINCE

32       2.2.0
33

REPORTING BUGS

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-2020 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                              2.6.6 pskc_set_key_policy_pinmaxlength(3)
Impressum