<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi, Svart. in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Transfer-messages-over-network/m-p/1122694#M1557</link>
    <description>Hi, Svart.

A full Remote Attestation example was provided here: &lt;A href="https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example&lt;/A&gt;

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 - &lt;A href="https://github.com/Microsoft/cpprestsdk" target="_blank"&gt;https://github.com/Microsoft/cpprestsdk&lt;/A&gt;
Restbed - &lt;A href="https://github.com/Corvusoft/restbed" target="_blank"&gt;https://github.com/Corvusoft/restbed&lt;/A&gt;
Json-cpp - &lt;A href="https://github.com/ascheglov/json-cpp" target="_blank"&gt;https://github.com/ascheglov/json-cpp&lt;/A&gt;

Best regards,

Rodolfo</description>
    <pubDate>Mon, 26 Dec 2016 15:01:26 GMT</pubDate>
    <dc:creator>Rodolfo_S_</dc:creator>
    <dc:date>2016-12-26T15:01:26Z</dc:date>
    <item>
      <title>Transfer messages over network</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Transfer-messages-over-network/m-p/1122693#M1556</link>
      <description>&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;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".&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;What would be a good way to transfer the messages in C++ between the application and the SP?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2016 14:23:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Transfer-messages-over-network/m-p/1122693#M1556</guid>
      <dc:creator>Svart_K_</dc:creator>
      <dc:date>2016-12-26T14:23:06Z</dc:date>
    </item>
    <item>
      <title>Hi, Svart.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Transfer-messages-over-network/m-p/1122694#M1557</link>
      <description>Hi, Svart.

A full Remote Attestation example was provided here: &lt;A href="https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example&lt;/A&gt;

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 - &lt;A href="https://github.com/Microsoft/cpprestsdk" target="_blank"&gt;https://github.com/Microsoft/cpprestsdk&lt;/A&gt;
Restbed - &lt;A href="https://github.com/Corvusoft/restbed" target="_blank"&gt;https://github.com/Corvusoft/restbed&lt;/A&gt;
Json-cpp - &lt;A href="https://github.com/ascheglov/json-cpp" target="_blank"&gt;https://github.com/ascheglov/json-cpp&lt;/A&gt;

Best regards,

Rodolfo</description>
      <pubDate>Mon, 26 Dec 2016 15:01:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Transfer-messages-over-network/m-p/1122694#M1557</guid>
      <dc:creator>Rodolfo_S_</dc:creator>
      <dc:date>2016-12-26T15:01:26Z</dc:date>
    </item>
  </channel>
</rss>

