pskc_keyusage2str - API function
Contents
Arguments
pskc_keyusage keyusage
an pskc_keyusage enumeration type
Copyright
Copyright © 2012-2020 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without
royalty provided the copyright notice and this notice are preserved.
libpskc 2.6.12 pskc_keyusage2str(3)
Description
Convert pskc_keyusage to a string. For example, pskc_keyusage2str(PSKC_KEYUSAGE_OTP) will return "OTP".
The returned string must not be deallocated.
Name
pskc_keyusage2str - API function
Reporting Bugs
Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page: https://www.nongnu.org/oath-toolkit/
General help using GNU software: http://www.gnu.org/gethelp/Returns
String corresponding to pskc_keyusage.
Synopsis
#include<pskc.h>constchar*pskc_keyusage2str(pskc_keyusagekeyusage);
