pskc_str2pinusagemode - Man Page

API function

Synopsis

#include <pskc.h>

pskc_pinusagemode pskc_str2pinusagemode(const char * pinusagemode);

Arguments

const char * pinusagemode

an string describing a key usage.

Description

Convert a string to a pskc_pinusagemode type.  For example, pskc_str2pinusagemode("Local") will return PSKC_PINUSAGEMODE_LOCAL.

Returns

The corresponding pskc_pinusagemode value.

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/

Info

2.6.12 libpskc