CryptoAuthLib
Microchip CryptoAuthentication Library
atcacert_build_state_s Struct Reference

#include <atcacert_def.h>

Data Fields

const atcacert_def_tcert_def
 Certificate definition for the certificate being rebuilt. More...
 
uint8_t * cert
 Buffer to contain the rebuilt certificate. More...
 
size_t * cert_size
 Current size of the certificate in bytes. More...
 
size_t max_cert_size
 Max size of the cert buffer in bytes. More...
 
uint8_t is_device_sn
 Indicates the structure contains the device SN. More...
 
uint8_t device_sn [9]
 Storage for the device SN, when it's found. More...
 

Detailed Description

Tracks the state of a certificate as it's being rebuilt from device information.

Field Documentation

◆ cert

uint8_t* cert

Buffer to contain the rebuilt certificate.

◆ cert_def

const atcacert_def_t* cert_def

Certificate definition for the certificate being rebuilt.

◆ cert_size

size_t* cert_size

Current size of the certificate in bytes.

◆ device_sn

uint8_t device_sn[9]

Storage for the device SN, when it's found.

◆ is_device_sn

uint8_t is_device_sn

Indicates the structure contains the device SN.

◆ max_cert_size

size_t max_cert_size

Max size of the cert buffer in bytes.