manpagez: man pages & more
man pskc_str2keyusage(3)
Home | html | info | man
pskc_str2keyusage(3)                 libpskc                pskc_str2keyusage(3)




NAME

       pskc_str2keyusage - API function


SYNOPSIS

       #include <pskc.h>

       pskc_str2keyusage(3) 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:
       https://www.nongnu.org/oath-toolkit/ General help using GNU software:
       http://www.gnu.org/gethelp/


COPYRIGHT

       Copyright (C) 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.7                 pskc_str2keyusage(3)

oath-toolkit 2.6.7 - Generated Sat May 6 08:43:24 CDT 2023
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.