blob: 9c695f6dc479aa4ceb75a1c7a7f7e06210e64609 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "crypto/scoped_openssl_types.h"
namespace net {
class X509Certificate;
// Looks up the private key from the platform key store corresponding
// to |certificate|'s public key. Then wraps it in an OpenSSL EVP_PKEY
// structure to be used for SSL client auth.
// TODO(davidben): This combines looking up a private key with
// wrapping it in an OpenSSL structure. This will be separated with
crypto::ScopedEVP_PKEY FetchClientCertPrivateKey(
const X509Certificate* certificate);
} // namespace net