ProvisioningLibrary
Atmel Security Provisioning Library
atcaprov_options_s Struct Reference

Options for controlling the atcaprov_provision() function. More...

#include <atcaprov.h>

Data Fields

const atcaprov_cert_info_tcert_info
 
const uint8_t * config
 
uint8_t is_slot_lock [16]
 
uint8_t is_cert_validation
 

Detailed Description

Options for controlling the atcaprov_provision() function.

Field Documentation

const atcaprov_cert_info_t* cert_info

Information required for requesting certificates.

const uint8_t* config

128 byte config zone to write to the device. Note that the first 16 bytes will be ignored, as they aren't writable.

uint8_t is_cert_validation

If set to true, the certificates will be read off the device and validated after provisioning. The ATCAPROV_CERT_VALIDATION symbol must be defined to enable this option. Note that the signer_cert_def, device_cert_def, and related buffers (see comments) need to be set in the atcaprov_data_t argument to enable cert validation as well.

uint8_t is_slot_lock[16]

Each element represents a slot on the device. If set to true, that slot will be slot locked at the end of the provisioning process.