Jump to main content

##

# 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

Parameters | Description
--- | ---
certPtr | A pointer to the CA certificates
certSize | The size of the certificates
certIndex | Most likely '0', but this parameter is provided to select a different set of CA certificates