#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 { … }
}