1pskc_get_key_policy_keyusages(3)    libpskc   pskc_get_key_policy_keyusages(3)
2
3
4

NAME

6       pskc_get_key_policy_keyusages - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       int pskc_get_key_policy_keyusages(pskc_key_t * key, int * present);
12

ARGUMENTS

14       pskc_key_t * key
15                   a pskc_key_t handle, from pskc_get_keypackage().
16
17       int * present
18                   output  variable  indicating  whether  data was provided or
19                   not.
20

DESCRIPTION

22       Get the PSKC KeyPackage Key Policy KeyUsage values.  The  element  puts
23       constraints  on  the  intended  usage of the key.  The recipient of the
24       PSKC document MUST enforce the key usage.
25
26       If present is non-NULL, it will be 0 if the field is not present  or  1
27       if it was present.
28

RETURNS

30       an integer holding a set of pskc_keyusage values ORed together.
31

REPORTING BUGS

33       Report  bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home page:
34       https://www.nongnu.org/oath-toolkit/ General help using  GNU  software:
35       http://www.gnu.org/gethelp/
36
38       Copyright © 2012-2020 Simon Josefsson.
39       Copying  and  distribution  of this file, with or without modification,
40       are permitted in any medium without royalty provided the copyright  no‐
41       tice and this notice are preserved.
42
43
44
45libpskc                              2.6.7    pskc_get_key_policy_keyusages(3)
Impressum