This code sample contains an implementation of Integrating Remote Attestation with Transport Layer Security.
To use this code sample, one needs to register at Intel website for dev IAS service access. Once the registration is finished, the following stuff should be ready:
Both of these information could be found in the new Intel Trusted Services API Management Portal. Please log into this portal and switch to “Manage subscriptions” page on the top right corner to see your SPID and API keys. Either primary key or secondary key works.
Save them to
bin/key.txt respectively. Size of these two files should be 32 or 33.
make cd bin ./app --server (add --unlink if your spid's type is unlinkable)
make cd bin ./app --client (add --unlink if your spid's type is unlinkable)