1pskc_set_device_expirydate(3) libpskc pskc_set_device_expirydate(3)
2
3
4
6 pskc_set_device_expirydate - API function
7
9 #include <pskc.h>
10
11 void pskc_set_device_expirydate(pskc_key_t * key, const struct tm * ex‐
12 pirydate);
13
15 pskc_key_t * key
16 a pskc_key_t handle, from pskc_get_keypackage().
17
18 const struct tm * expirydate
19 pointer to a tm struct with device expiry date to set.
20
22 Set the PSKC KeyPackage DeviceInfo ExpiryDate. This element denote the
23 end date of a device (such as the one on a payment card, used when is‐
24 sue numbers are not printed on cards).
25
27 2.2.0
28
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_set_device_expirydate(3)