NET_PRES_CertStoreGetCACerts Function

C

bool NET_PRES_CertStoreGetCACerts(const uint8_t ** certPtr, int32_t * certSize, uint8_t certIndex); 

Returns

  • true - Indicates success

  • false - Indicates failure

Description

Get CA Certificates function This function is used by client connections to retrieve the Certificate Authority certificates that are used to validate signatures on server certificates.

Preconditions

None.

Parameters

ParametersDescription
certPtrA pointer to the CA certificates
certSizeThe size of the certificates
certIndexMost likely '0', but this parameter is provided to select a different set of CA certificates