22 lines
916 B
C
22 lines
916 B
C
|
#ifndef GENERALSETTINGS_H
|
||
|
#define GENERALSETTINGS_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
namespace Settings {
|
||
|
static int rh_port = 22222;
|
||
|
static string rh_host = "localhost";
|
||
|
|
||
|
static string server_crt = "/home/fan/linux-sgx-remoteattestation/server.crt"; //certificate for the HTTPS connection between the SP and the App
|
||
|
static string server_key = "/home/fan/linux-sgx-remoteattestation/server.key"; //private key for the HTTPS connection
|
||
|
|
||
|
static string spid = "0BC6719F1DB470A7C5D01AB928DACCAF"; //SPID provided by Intel after registration for the IAS service
|
||
|
static const char *ias_crt = "/home/fan/linux-sgx-remoteattestation/server.crt"; //location of the certificate send to Intel when registring for the IAS
|
||
|
static const char *ias_key = "/home/fan/linux-sgx-remoteattestation/server.key";
|
||
|
static string ias_url = "https://test-as.sgx.trustedservices.intel.com:443/attestation/sgx/v2/";
|
||
|
}
|
||
|
|
||
|
#endif
|