pskc_str2keyusage man page

pskc_str2keyusage — API function

Synopsis

#include <pskc.h>

pskc_keyusage pskc_str2keyusage(const char * keyusage);

Arguments

const char * keyusage
an string describing a key usage.

Description

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

Returns

The corresponding pskc_keyusage value.

Reporting Bugs

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

Info

2.6.1 libpskc libpskc