pskc_add_keypackage(3)

pskc_add_keypackage3

Api function

Usage

#include <pskc.h>

int pskc_add_keypackage(pskc_t * container, pskc_key_t ** key);

Arguments

pskc_t * container

a pskc_t handle, from pskc_init().

pskc_key_t ** key

pointer to pskc_key_t key package handle.

Overview

Add a new a PSKC keypackage to the container and give back a pskc_key_t handle.

Returns

PSKC_MALLOC_ERROR on memory allocation errors, or PSKC_OK on success.

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.