Microchip® Advanced Software Framework

tstrTlsSrvSecHdr Struct Reference

This struct contains a set of TLS certificates.

#include <m2m_types.h>

Data Fields

tstrTlsSrvSecFileEntry astrEntries [TLS_SRV_SEC_MAX_FILES]
 
uint8 au8SecStartPattern [TLS_SRV_SEC_START_PATTERN_LEN]
 
uint32 u32CRC
 
uint32 u32nEntries
 
uint32 u32NextWriteAddr
 

tstrTlsSrvSecFileEntry tstrTlsSrvSecHdr::astrEntries[TLS_SRV_SEC_MAX_FILES]

TLS Certificate headers.

Referenced by TlsSrvSecFopen(), and WriteTlsServerKeyMaterial().

uint8 tstrTlsSrvSecHdr::au8SecStartPattern[TLS_SRV_SEC_START_PATTERN_LEN]

Start pattern.

Referenced by TlsSrvSecWriteCertChain().

uint32 tstrTlsSrvSecHdr::u32CRC

CRC32 of entire cert block, only the cert writer computes this, the FW just does a compare with replacement blocks.

uint32 tstrTlsSrvSecHdr::u32nEntries

Number of certificates stored in the struct.

Referenced by TlsSrvSecFopen(), TlsSrvSecWriteCertChain(), and WriteTlsServerKeyMaterial().

uint32 tstrTlsSrvSecHdr::u32NextWriteAddr