1pskc_get_key_algparm_resp_length(3) libpskcpskc_get_key_algparm_resp_length(3)
2
3
4
6 pskc_get_key_algparm_resp_length - API function
7
9 #include <pskc.h>
10
11 uint32_t pskc_get_key_algparm_resp_length(pskc_key_t * key, int *
12 present);
13
15 pskc_key_t * key
16 a pskc_key_t handle, from pskc_get_keypackage().
17
18 int * present
19 output variable indicating whether data was provided or
20 not.
21
23 Get the PSKC KeyPackage Key AlgorithmParameters ResponseFormat Length
24 value. This attribute defines the length of the response generated by
25 the device and MUST be included. If the 'Encoding' attribute is set to
26 'DECIMAL', 'HEXADECIMAL', or ALPHANUMERIC, this value indicates the
27 number of digits/characters. If the 'Encoding' attribute is set to
28 'BASE64' or 'BINARY', this value indicates the number of bytes of the
29 unencoded value.
30
31 If present is non-NULL, it will be 0 if the field is not present or 1
32 if it was present.
33
35 an integer holding the content.
36
38 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
39 https://www.nongnu.org/oath-toolkit/ General help using GNU software:
40 http://www.gnu.org/gethelp/
41
43 Copyright © 2012-2020 Simon Josefsson.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright no‐
46 tice and this notice are preserved.
47
48
49
50libpskc 2.6.7 pskc_get_key_algparm_resp_length(3)