1pskc_set_key_policy_pinkeyid(3) libpskc pskc_set_key_policy_pinkeyid(3)
2
3
4
6 pskc_set_key_policy_pinkeyid - API function
7
9 #include <pskc.h>
10
11 void pskc_set_key_policy_pinkeyid(pskc_key_t * key, const char *
12 pinkeyid);
13
15 pskc_key_t * key
16 a pskc_key_t handle, from pskc_get_keypackage().
17
18 const char * pinkeyid
19 pin key id value to set.
20
22 Set the PSKC KeyPackage Key Policy PINPolicy PINKeyId value. This at‐
23 tribute carries the unique 'Id' attribute vale of the "Key" element
24 held within this "KeyContainer" that contains the value of the PIN that
25 protects the key.
26
27 The pointer is stored in container, not a copy of the data, so you must
28 not deallocate the data before another call to this function or the
29 last call to any function using container.
30
32 2.2.0
33
35 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
36 https://www.nongnu.org/oath-toolkit/ 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 no‐
43 tice and this notice are preserved.
44
45
46
47libpskc 2.6.7 pskc_set_key_policy_pinkeyid(3)