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 *
12 devbind);
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
25 approved. The device is bound to the request using a device identi‐
26 fier, e.g., an International Mobile Equipment Identity (IMEI) for the
27 phone, or an identifier for a class of identifiers, e.g., those for
28 which the 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 http://www.gnu.org/software/libpskc/ 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
46 notice and this notice are preserved.
47
48
49
50libpskc 2.6.6 pskc_set_device_devicebinding(3)