forked from svartkanin/linux-sgx-remoteattestation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GeneralSettings-example.h
32 lines (22 loc) · 949 Bytes
/
GeneralSettings-example.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef GENERALSETTINGS_H
#define GENERALSETTINGS_H
#include <string>
using namespace std;
namespace Settings {
static int rh_port = 22222;
static string rh_host = "localhost";
// 0 for unlinkable, 1 for linkable. Should match setting sent
// to Intel when registering for IAS
static int quote_type = 0;
// Certificate for the HTTPS connection between the SP and the App
static string server_crt = "server.crt";
// Private key for the HTTPS connection
static string server_key = "server.key";
// SPID provided by Intel after registration for the IAS service
static string spid = "MY-SPID";
// Location of the certificate sent to Intel when registering
// for IAS. Should contain certificate and key, in PEM format
static const char *ias_crt = "client_dev.pem";
static string ias_url = "https://test-as.sgx.trustedservices.intel.com:443/attestation/sgx/v2/";
}
#endif