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

#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/unexportable_key.h"
#include "net/ssl/ssl_private_key.h"

namespace client_certificates {

UnexportablePrivateKey::UnexportablePrivateKey(
    std::unique_ptr<crypto::UnexportableSigningKey> key)
    :{}

UnexportablePrivateKey::~UnexportablePrivateKey() = default;

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

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

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

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

}  // namespace client_certificates