chromium/components/web_package/test_support/signed_web_bundles/ecdsa_p256_key_pair.h

// 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.

#ifndef COMPONENTS_WEB_PACKAGE_TEST_SUPPORT_SIGNED_WEB_BUNDLES_ECDSA_P256_KEY_PAIR_H_
#define COMPONENTS_WEB_PACKAGE_TEST_SUPPORT_SIGNED_WEB_BUNDLES_ECDSA_P256_KEY_PAIR_H_

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

namespace web_package::test {

struct EcdsaP256KeyPair {};

std::vector<uint8_t> SignMessage(base::span<const uint8_t> message,
                                 const EcdsaP256KeyPair& key_pair);

}  // namespace web_package::test

#endif  // COMPONENTS_WEB_PACKAGE_TEST_SUPPORT_SIGNED_WEB_BUNDLES_ECDSA_P256_KEY_PAIR_H_