#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/browser/enterprise/connectors/device_trust/attestation/browser/google_keys.h"
namespace enterprise_connectors {
namespace {
constexpr char kDefaultVASigningPublicKey[] = …;
constexpr char kDefaultVAEncryptionPublicKey[] = …;
constexpr char kDefaultVAEncryptionPublicKeyID[] = …;
constexpr char kTestVASigningPublicKey[] = …;
constexpr char kTestVAEncryptionPublicKey[] = …;
constexpr char kTestVAEncryptionPublicKeyID[] = …;
template <size_t size>
std::string ZeroTerminatedCharArrayToString(
const char (&array)[size]) noexcept { … }
}
GoogleKeys ::GoogleKeys() { … }
GoogleKeys::GoogleKeys(const DefaultGoogleRsaPublicKeySet& default_key_set)
: … { … }
GoogleKeys::~GoogleKeys() = default;
const GoogleRsaPublicKey& GoogleKeys::va_signing_key(VAType va_type) const { … }
const GoogleRsaPublicKey& GoogleKeys::va_encryption_key(VAType va_type) const { … }
}