pskc_str2keyusage(3)

pskc_str2keyusage3

Api function

Usage

#include <pskc.h>

pskc_keyusage pskc_str2keyusage(const char * keyusage);

Arguments

const char * keyusage

an string describing a key usage.

Overview

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

Returns

The corresponding pskc_keyusage value.

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

Reporting bugs

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

From oath-toolkit 2.6.15-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.