1pskc_set_device_devicebinding(3) libpskc pskc_set_device_devicebinding(3)
2
3
4
6 pskc_set_device_devicebinding - API function
7
9 #include <pskc.h>
10
11 void pskc_set_device_devicebinding(pskc_key_t * key, const char * de‐
12 vbind);
13
15 pskc_key_t * key
16 a pskc_key_t handle, from pskc_get_keypackage().
17
18 const char * devbind
19 a string with device binding to set.
20
22 Set the PSKC KeyPackage DeviceInfo DeviceBinding value. This element
23 allows a provisioning server to ensure that the key is going to be
24 loaded into the device for which the key provisioning request was ap‐
25 proved. The device is bound to the request using a device identifier,
26 e.g., an International Mobile Equipment Identity (IMEI) for the phone,
27 or an identifier for a class of identifiers, e.g., those for which the
28 keys are protected by a Trusted Platform Module (TPM).
29
30 The pointer is stored in container, not a copy of the data, so you must
31 not deallocate the data before another call to this function or the
32 last call to any function using container.
33
35 2.2.0
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_set_device_devicebinding(3)