1pskc_get_key_policy_pinusagemode(3) libpskcpskc_get_key_policy_pinusagemode(3)
2
3
4
6 pskc_get_key_policy_pinusagemode - API function
7
9 #include <pskc.h>
10
11 pskc_pinusagemode pskc_get_key_policy_pinusagemode(pskc_key_t * key,
12 int * 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 PINUsageMode value. This
24 mandatory attribute indicates the way the PIN is used during the usage
25 of the key.
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_pinusagemode value
32
34 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
35 http://www.gnu.org/software/libpskc/ General help using GNU software:
36 http://www.gnu.org/gethelp/
37
39 Copyright © 2012-2016 Simon Josefsson.
40 Copying and distribution of this file, with or without modification,
41 are permitted in any medium without royalty provided the copyright
42 notice and this notice are preserved.
43
44
45
46libpskc 2.6.2 pskc_get_key_policy_pinusagemode(3)