pskc_get_keypackage - Man Page

API function

Synopsis

#include <pskc.h>

pskc_key_t * pskc_get_keypackage(pskc_t * container, size_t i);

Arguments

pskc_t * container

a pskc_t handle, from pskc_init().

size_t i

number of keypackage to get.

Description

Get a PSKC keypackage pskc_key_t handle for the i'th key package in container.  i is zero-based, i.e., 0 refer to the first key package, 1 refer to the second key package, and so on.

Returns

NULL if there is no i'th key package, or a valid pskc_key_t pointer.

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/

Info

2.6.11 libpskc