TLS certificate and private key parser and downloader.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
int | WriteTlsCertificate (uint8 *pu8PrivKey, uint32 u32PrivKeySz, tstrFileInfo *astrCertList, uint8 u8nCerts) |
int WriteTlsCertificate | ( | uint8 * | pu8PrivKey, |
uint32 | u32PrivKeySz, | ||
tstrFileInfo * | astrCertList, | ||
uint8 | u8nCerts | ||
) |
References FLASH_SECTOR_SZ, gau8CertMem, M2M_SUCCESS, M2M_TLS_SERVER_FLASH_OFFSET, M2M_TLS_SERVER_FLASH_SIZE, programmer_erase_tls_cert_store, programmer_read, programmer_read_tls_cert_store, programmer_write_tls_cert_store, TLS_SRV_SEC_MODE_APPEND, and TlsSrvSecWriteCertChain().
Referenced by burn_certificates().