1pskc_set_key_policy_keyusages(3) libpskc pskc_set_key_policy_keyusages(3)
2
3
4
6 pskc_set_key_policy_keyusages - API function
7
9 #include <pskc.h>
10
11 void pskc_set_key_policy_keyusages(pskc_key_t * key, int keyusages);
12
14 pskc_key_t * key
15 a pskc_key_t handle, from pskc_get_keypackage().
16
17 int keyusages
18 integer with pskc_keyusage values ORed together.
19
21 Set the PSKC KeyPackage Key Policy KeyUsage values. The element puts
22 constraints on the intended usage of the key. The recipient of the
23 PSKC document MUST enforce the key usage.
24
26 2.2.0
27
29 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
30 http://www.gnu.org/software/libpskc/ General help using GNU software:
31 http://www.gnu.org/gethelp/
32
34 Copyright © 2012-2016 Simon Josefsson.
35 Copying and distribution of this file, with or without modification,
36 are permitted in any medium without royalty provided the copyright
37 notice and this notice are preserved.
38
39
40
41libpskc 2.6.2 pskc_set_key_policy_keyusages(3)