1pskc_get_key_policy_pinencoding(3) libpskc pskc_get_key_policy_pinencoding(3)
2
3
4
6 pskc_get_key_policy_pinencoding - API function
7
9 #include <pskc.h>
10
11 pskc_valueformat pskc_get_key_policy_pinencoding(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 Policy PINPolicy PINEncoding value. This
24 attribute indicates the encoding of the PIN and MUST be one of the
25 pskc_valueformat values.
26
27 If present is non-NULL, it will be 0 if the field is not present or 1
28 if it was present.
29
31 an pskc_valueformat value
32
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.6.7 pskc_get_key_policy_pinencoding(3)