/* * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ATTEST_REPORT_FETCHER_H #define ATTEST_REPORT_FETCHER_H #include #include #include /** \brief Fetch and verify an attestaton report * * \param[out] report The CBOR encoded report * \param[out] error_msg Error message on failure * * \return Returns true if fetch successful */ bool fetch_attest_report(std::vector &report, std::string &error_msg); #endif /* ATTEST_REPORT_FETCHER_H */