SysTutorials

Linux Manual Pages › Section 3

pskc_keyusage2str(3)

pskc_keyusage2str – API function

Synopsis

#include <pskc.h>
const char *pskc_keyusage2str(pskc_keyusage keyusage);

Arguments

pskc_keyusage keyusage
an pskc_keyusage enumeration type

Description

Convert pskc_keyusage to a string. For example, pskc_keyusage2str(PSKC_KEYUSAGE_OTP) will return "OTP". The returned string must not be deallocated.

Returns

String corresponding to pskc_keyusage.

Reporting Bugs

Report bugs to <oath-toolkit-help [at] nongnu.org>. libpskc home page: http://www.gnu.org/software/libpskc/ General help using GNU software: http://www.gnu.org/gethelp/

Copyright

Copyright © 2012 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.