#include <lib/atcacert/atcacert_def.h>
Data Fields | |
| atcacert_cert_type_t | type |
| Certificate type. | |
| atcacert_device_loc_t | comp_cert_dev_loc |
| Where on the device the compressed cert can be found. | |
| uint16_t | private_key_slot |
| If this is a device certificate template, this is the device slot for the device private key. | |
| const uint8_t * | cert_template |
| Pointer to the actual certificate template data. | |
| uint16_t | cert_template_size |
| Size of the certificate template in cert_template in bytes. | |
| const struct atcacert_def_s * | ca_cert_def |
| Certificate definition of the CA certificate. | |
Defines a certificate and all the pieces to work with it.
If any of the standard certificate elements (std_cert_elements) are not a part of the certificate definition, set their count to 0 to indicate their absence.