#include <lib/atcacert/atcacert_def.h>
Data Fields | |
| const atcacert_def_t * | cert_def |
| Certificate definition for the certificate being rebuilt. | |
| uint8_t * | cert |
| Buffer to contain the rebuilt certificate. | |
| size_t * | cert_size |
| Current size of the certificate in bytes. | |
| size_t | max_cert_size |
| Max size of the cert buffer in bytes. | |
| uint8_t | is_device_sn |
| Indicates the structure contains the device SN. | |
| ATCADeviceType | devtype |
| Device type info for the certificate being rebuilt. | |
| uint8_t | device_sn [9] |
| Storage for the device SN, when it's found. | |
| uint8_t | is_comp_cert |
| Indicates the structure contains the compressed certificate. | |
| uint8_t | comp_cert [ATCACERT_COMP_CERT_MAX_SIZE] |
| Storage for the compressed certificate when it's found. | |
Tracks the state of a certificate as it's being rebuilt from device information.