pskc_set_key_algorithm(3)

pskc_set_key_algorithm3

Api function

Usage

#include <pskc.h>

void pskc_set_key_algorithm(pskc_key_t * key, const char * keyalg);

Arguments

pskc_key_t * key

a pskc_key_t handle, from pskc_get_keypackage().

const char * keyalg

the key algorithm string to set.

Overview

Set the PSKC KeyPackage Key Algorithm attribute value. This may be an URN, for example "urn:ietf:params:xml:ns:keyprov:pskc:hotp".

The pointer is stored in container, not a copy of the data, so you must not deallocate the data before another call to this function or the last call to any function using container.

Since

2.2.0

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.