1pskc_add_keypackage(3) libpskc pskc_add_keypackage(3)
2
3
4
6 pskc_add_keypackage - API function
7
9 #include <pskc.h>
10
11 int pskc_add_keypackage(pskc_t * container, pskc_key_t ** key);
12
14 pskc_t * container
15 a pskc_t handle, from pskc_init().
16
17 pskc_key_t ** key
18 pointer to pskc_key_t key package handle.
19
21 Add a new a PSKC keypackage to the container and give back a pskc_key_t
22 handle.
23
25 PSKC_MALLOC_ERROR on memory allocation errors, or PSKC_OK on success.
26
28 2.2.0
29
31 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
32 http://www.gnu.org/software/libpskc/ General help using GNU software:
33 http://www.gnu.org/gethelp/
34
36 Copyright © 2012-2016 Simon Josefsson.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
41
42
43libpskc 2.6.2 pskc_add_keypackage(3)