pskc_str2keyusage - API function
Contents
Arguments
const char * keyusage
an string describing a key usage.
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_str2keyusage(3)
Description
Convert a string to a pskc_keyusage type. For example, pskc_str2keyusage("KeyWrap") will return
PSKC_KEYUSAGE_KEYWRAP.
Name
pskc_str2keyusage - 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
The corresponding pskc_keyusage value.
Synopsis
#include<pskc.h>pskc_keyusagepskc_str2keyusage(constchar*keyusage);
