// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#include "attestation_collateral.hpp"

#include <azure/core/base64.hpp>

// cspell:disable
const std::string OpenEnclaveQuote(
    "AQAAAAIAAADoEQAAAAAAAAMAAgAAAAAABQAKAJOacjP3nEyplAoNs5V_Bgfl_"
    "L18zrEJejtqk6RDB0IzAAAAABERAwX_"
    "gAYAAAAAAAAAAAAAAAAAAAA"
    "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAAAAAABwAAAAAAAAApKh9LUZ5GYn6yR4o9mFFAVlPFtLCmkl3"
    "oQ4N"
    "NkhaFDgAAAAAAAAAAAAAAAA"
    "AAAAAAAAAAAAAAAAAAAAAAAAAASupfmg7QSxH4iarf5qHTdiE6Kalahc5zN65vf-"
    "zmYQwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
    "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAA"
    "AAAA"
    "AAAAAAAAAAAAAAAAAAAAAAA"
    "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKFQuRP5-c_ZhD2sxrnV2kl8JzNu0xWRlg-"
    "zBVhM3qP8AAAAAAAAAAAAAAAAAAAA"
    "AAAAAAAAAAAAAAAAAAAAAADQQAACJx8e27oQ0pijs3lXQ9HfKWP9NMqVHQFL9SOjC_KGDcbv-I2fCafTHJ__"
    "AmNqVXy7XTXnzmLp1HhUCy1_9AORSAT"
    "qGZ1PtvBf4Q2NfNxqVkNrGJAjYuqMPStdg0MuM21nN-Qc9BWNycRMMsU7YfHSzmw7eGjBb_"
    "Ewfb3k6N4ZYRhERAwX_"
    "gAYAAAAAAAAAAAAAAAAAAAAAA"
    "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABUAAAAAAAAABwAAAAAAAAA_sKzghp0uMPKOhtcMdmQ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PQgp1ekNCdURB"
    "ZkJn"
    "TlZIU01FR0RBV2dCUWlaUXp"
    "XV3AwMGlmT0R0SlZTdjFBYk9TY0dyREJTQmdOVkhSOEVTekJKCk1FZWdSYUJEaGtGb2RIUndjem92TDJObGNuUnB"
    "abWx"
    "qWVhSbGN5NTBjblZ6ZEdWa2"
    "MyVnlkbWxqWlhNdWFXNTAKWld3dVkyOXRMMGx1ZEdWc1UwZFlVbTl2ZEVOQkxtTnliREFkQmdOVkhRNEVGZ1FVSW"
    "1VTT"
    "FscWROSW56ZzdTVgpVcjlRR"
    "3prbkJxd3dEZ1lEVlIwUEFRSC9CQVFEQWdFR01CSUdBMVVkRXdFQi93UUlNQVlCQWY4Q0FRRXdDZ1lJCktvWkl6a"
    "jBFQ"
    "XdJRFNBQXdSUUlnUVFzLzA4"
    "cnljZFBhdUNGazhVUFFYQ01BbHNsb0JlN053YVFHVGNkcGEwRUMKSVFDVXQ4U0d2eEttanBjTS96MFdQOUR2bzho"
    "Mms1"
    "ZHUxaVdEZEJrQW4rMGlpQT0"
    "9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0KAA");

const std::string OpenEnclaveNonDebugQuote(
    "AQAAAAIAAADoEQAAAAAAAAMAAgAAAAAABQAKAJOacjP3nEyplAoNs5V_"
    "BgfDYELtjmo1LWZEqF8xasaZAAAAABERAwX_"
    "gAYAAAAAAAAAAAAAAAAAAA"
    "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAABwAAAAAAAAC3eSAmGL7LY2do5dkC8o1SQiJzX6-"
    "1OeqboHw_wXGhwgAAAAAAAAAAAAAAAAAAAAAA"
    "AAAAAAAAAAAAAAAAAAAALBpElSroIHE1xsKbdbjAKTcu6UtnfhXCC9QjQPENQaoAAAAAAAAAAAAAAAAAAAAAAAAA"
    "AAAA"
    "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
    "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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
    "R2bzhoMms1ZHUxaVdEZEJrQW4rMGlp"
    "QT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0KAA");

std::string RuntimeJWKClaim = R"(
        {
            "jwk" : {
                "kty":"EC",
                "use":"sig",
                "crv":"P-256",
                "x":"18wHLeIgW9wVN6VD1Txgpqy2LszYkMf6J8njVAibvhM",
                "y":"cV4dS4UaLMgP_4fY4j8ir7cl1TXlFdAgcx55o7TkcSA"
            }
        }
        )";
std::string SgxEnclaveHeldData
    = "CiAgICAgICAgewogICAgICAgICAgICAiandrIiA6IHsKICAgICAgICAgICAgICAgICJrdHkiOiJFQyI"
      "sCiAgICAgICAgICAgICAgICAidXNlIjoic2lnIiwKICAgICAgICAgICAgICAgICJjcnYiOiJQLTI1Ni"
      "IsCiAgICAgICAgICAgICAgICAieCI6IjE4d0hMZUlnVzl3Vk42VkQxVHhncHF5MkxzellrTWY2Sjhua"
      "lZBaWJ2aE0iLAogICAgICAgICAgICAgICAgInkiOiJjVjRkUzRVYUxNZ1BfNGZZNGo4aXI3Y2wxVFhs"
      "RmRBZ2N4NTVvN1RrY1NBIgogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIAA";
// cspell:enable

std::vector<uint8_t> AttestationCollateral::OpenEnclaveReport()
{
  return Azure::Core::_internal::Base64Url::Base64UrlDecode(OpenEnclaveQuote);
}
std::vector<uint8_t> AttestationCollateral::SgxQuote()
{
  // An OpenEnclave report is a wrapper around an SGX quote - there are
  // 16 bytes of OpenEnclave header at the start of the report and what remains is
  // an SGX quote, so to convert from an OE report to an SGX quote simply strip
  // the first 16 bytes of the report.
  auto openEnclaveReport = AttestationCollateral::OpenEnclaveReport();
  openEnclaveReport.erase(openEnclaveReport.begin(), openEnclaveReport.begin() + 16);
  return openEnclaveReport;
}
std::vector<uint8_t> AttestationCollateral::RunTimeData()
{
  return Azure::Core::_internal::Base64Url::Base64UrlDecode(SgxEnclaveHeldData);
}

std::string AttestationCollateral::GetMinimalPolicy()
{
  return "version=1.0; authorizationrules{=> permit();}; issuancerules{};";
}
