1pskc_keyusage2str(3) libpskc pskc_keyusage2str(3)
2
3
4
6 pskc_keyusage2str - API function
7
9 #include <pskc.h>
10
11 const char * pskc_keyusage2str(pskc_keyusage keyusage);
12
14 pskc_keyusage keyusage
15 an pskc_keyusage enumeration type
16
18 Convert pskc_keyusage to a string. For example,
19 pskc_keyusage2str(PSKC_KEYUSAGE_OTP) will return "OTP". The returned
20 string must not be deallocated.
21
23 String corresponding to pskc_keyusage.
24
26 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
27 https://www.nongnu.org/oath-toolkit/ General help using GNU software:
28 http://www.gnu.org/gethelp/
29
31 Copyright © 2012-2020 Simon Josefsson.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright no‐
34 tice and this notice are preserved.
35
36
37
38libpskc 2.6.9 pskc_keyusage2str(3)