chromium/components/enterprise/client_certificates/core/ec_private_key.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/enterprise/client_certificates/core/ec_private_key.h"

#include <optional>
#include <utility>
#include <vector>

#include "base/check.h"
#include "components/enterprise/client_certificates/core/private_key_types.h"
#include "components/enterprise/client_certificates/core/ssl_key_converter.h"
#include "crypto/ec_private_key.h"
#include "crypto/ec_signature_creator.h"
#include "net/ssl/ssl_private_key.h"

namespace client_certificates {

ECPrivateKey::ECPrivateKey(std::unique_ptr<crypto::ECPrivateKey> key)
    :{}

ECPrivateKey::~ECPrivateKey() = default;

std::optional<std::vector<uint8_t>> ECPrivateKey::SignSlowly(
    base::span<const uint8_t> data) const {}

std::vector<uint8_t> ECPrivateKey::GetSubjectPublicKeyInfo() const {}

crypto::SignatureVerifier::SignatureAlgorithm ECPrivateKey::GetAlgorithm()
    const {}

client_certificates_pb::PrivateKey ECPrivateKey::ToProto() const {}

}  // namespace client_certificates