- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using the remote attestation example that was provided to build my current application. Unfortunately the network transfer between the application and the service provider has not been implemented in the example.
I have noticed that the function calls for retrieving the messages such as "sgx_ra_get_msg1" all work with the predefined structures "ra_samp_request_header_t" and "ra_samp_response_header_t".
I tried to send these structures over the network with boost::asio but have experienced major difficulties to do so, since the storing of the structures is architecture dependent.
What would be a good way to transfer the messages in C++ between the application and the SP?
Thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Svart.
A full Remote Attestation example was provided here: https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example
This example uses Casablanca, but I have been able to use Restbed in its place.
For formatting messages, you could use a JSON string. I am currently using json-cpp for that.
Casablanca - https://github.com/Microsoft/cpprestsdk
Restbed - https://github.com/Corvusoft/restbed
Json-cpp - https://github.com/ascheglov/json-cpp
Best regards,
Rodolfo

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page