1pskc_get_key_data_secret(3)         libpskc        pskc_get_key_data_secret(3)
2
3
4

NAME

6       pskc_get_key_data_secret - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       const char * pskc_get_key_data_secret(pskc_key_t * key, size_t * len);
12

ARGUMENTS

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

DESCRIPTION

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

RETURNS

26       a  constant  string  (must  not  be deallocated) holding the content of
27       length *len, or NULL if not set.
28

REPORTING BUGS

30       Report bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home  page:
31       https://www.nongnu.org/oath-toolkit/  General  help using GNU software:
32       http://www.gnu.org/gethelp/
33
35       Copyright © 2012-2020 Simon Josefsson.
36       Copying and distribution of this file, with  or  without  modification,
37       are  permitted in any medium without royalty provided the copyright no‐
38       tice and this notice are preserved.
39
40
41
42libpskc                              2.6.7         pskc_get_key_data_secret(3)
Impressum