1pskc_get_key_data_secret(3) libpskc pskc_get_key_data_secret(3)
2
3
4
6 pskc_get_key_data_secret - API function
7
9 #include <pskc.h>
10
11 const char * pskc_get_key_data_secret(pskc_key_t * key, size_t * len);
12
14 pskc_key_t * key
15 a pskc_key_t handle, from pskc_get_keypackage().
16
17 size_t * len
18 pointer to output variable with length of returned data.
19
21 Get the PSKC KeyPackage Key Data Secret value. If len is not set, the
22 caller can only use the returned value for comparison against NULL to
23 check whether the field is present or not.
24
26 a constant string (must not be deallocated) holding the content of
27 length *len, or NULL if not set.
28
30 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
31 http://www.gnu.org/software/libpskc/ General help using GNU software:
32 http://www.gnu.org/gethelp/
33
35 Copyright © 2012-2016 Simon Josefsson.
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright
38 notice and this notice are preserved.
39
40
41
42libpskc 2.6.2 pskc_get_key_data_secret(3)