chromium/components/web_package/signed_web_bundles/identity_validator.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/web_package/signed_web_bundles/identity_validator.h"

#include "base/no_destructor.h"
#include "base/ranges/algorithm.h"
#include "base/strings/stringprintf.h"
#include "components/web_package/signed_web_bundles/ecdsa_p256_public_key.h"
#include "components/web_package/signed_web_bundles/ed25519_public_key.h"
#include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"

namespace web_package {

namespace {
IdentityValidator* g_instance =;
}  // namespace

IdentityValidator::IdentityValidator() {}

IdentityValidator::~IdentityValidator() {}

void IdentityValidator::CreateInstanceForTesting() {}

// static
IdentityValidator* IdentityValidator::GetInstance() {}

base::expected<void, std::string> IdentityValidator::ValidateWebBundleIdentity(
    const std::string& web_bundle_id,
    const std::vector<PublicKey>& public_keys) const {}

}  // namespace web_package