1pskc_get_keypackage(3) libpskc pskc_get_keypackage(3)
2
3
4
6 pskc_get_keypackage - API function
7
9 #include <pskc.h>
10
11 pskc_key_t * pskc_get_keypackage(pskc_t * container, size_t i);
12
14 pskc_t * container
15 a pskc_t handle, from pskc_init().
16
17 size_t i number of keypackage to get.
18
20 Get a PSKC keypackage pskc_key_t handle for the i'th key package in
21 container. i is zero-based, i.e., 0 refer to the first key package, 1
22 refer to the second key package, and so on.
23
25 NULL if there is no i'th key package, or a valid pskc_key_t pointer.
26
28 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
29 http://www.gnu.org/software/libpskc/ General help using GNU software:
30 http://www.gnu.org/gethelp/
31
33 Copyright © 2012-2020 Simon Josefsson.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
38
39
40libpskc 2.6.6 pskc_get_keypackage(3)