1pskc_set_key_reference(3) libpskc pskc_set_key_reference(3)
2
3
4
6 pskc_set_key_reference - API function
7
9 #include <pskc.h>
10
11 void pskc_set_key_reference(pskc_key_t * key, const char * keyref);
12
14 pskc_key_t * key
15 a pskc_key_t handle, from pskc_get_keypackage().
16
17 const char * keyref
18 pointer to key reference string to set.
19
21 Set the PSKC KeyPackage Key KeyReference value.
22
23 The pointer is stored in container, not a copy of the data, so you must
24 not deallocate the data before another call to this function or the
25 last call to any function using container.
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_set_key_reference(3)