esp_secure_cert_tlv_get_header() function
Retrieve the header of a specific ESP Secure Certificate TLV record. This function retrieves the header of a specific ESP Secure Certificate TLV record, identified by the type parameter. The tlv_header parameter is a pointer to a buffer where the header will be stored. The function returns ESP_OK if the header is successfully retrieved, otherwise it returns an error code.
Arguments
type
The type of the TLV record to retrieve the header for.
The pointer at this location shall be updated with tlv_header pointer value.
Return value
ESP_OK Success ESP_FAIL/ relevant error Failure
![]()
err = esp_secure_cert_tlv_get_header(type, (uint8_t)subtype, &tlv_header);
esp_secure_cert_tlv_get_header() is called by 4 functions and calls 4 functions:
![]()
esp_secure_cert_tlv_get_header()
esp_secure_cert_tlv_get_header() reads 6 variables:
![]()
esp_secure_cert_tlv_get_header()