1pskc_str2keyusage(3)                libpskc               pskc_str2keyusage(3)
2
3
4

NAME

6       pskc_str2keyusage - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       pskc_keyusage pskc_str2keyusage(const char * keyusage);
12

ARGUMENTS

14       const char * keyusage
15                   an string describing a key usage.
16

DESCRIPTION

18       Convert   a   string   to   a   pskc_keyusage   type.    For   example,
19       pskc_str2keyusage("KeyWrap") will return PSKC_KEYUSAGE_KEYWRAP.
20

RETURNS

22       The corresponding pskc_keyusage value.
23

REPORTING BUGS

25       Report bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home  page:
26       http://www.gnu.org/software/libpskc/  General  help using GNU software:
27       http://www.gnu.org/gethelp/
28
30       Copyright © 2012-2020 Simon Josefsson.
31       Copying and distribution of this file, with  or  without  modification,
32       are  permitted  in  any  medium  without royalty provided the copyright
33       notice and this notice are preserved.
34
35
36
37libpskc                              2.6.6                pskc_str2keyusage(3)
Impressum