Set spliced LOAD segment's memsz equal to filesz.
[chromium-blink-merge.git] / net / ssl / openssl_platform_key.h
blob9c695f6dc479aa4ceb75a1c7a7f7e06210e64609
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_SSL_OPENSSL_PLATFORM_KEY_H_
6 #define NET_SSL_OPENSSL_PLATFORM_KEY_H_
8 #include "crypto/scoped_openssl_types.h"
10 namespace net {
12 class X509Certificate;
14 // Looks up the private key from the platform key store corresponding
15 // to |certificate|'s public key. Then wraps it in an OpenSSL EVP_PKEY
16 // structure to be used for SSL client auth.
18 // TODO(davidben): This combines looking up a private key with
19 // wrapping it in an OpenSSL structure. This will be separated with
20 // https://crbug.com/394131
21 crypto::ScopedEVP_PKEY FetchClientCertPrivateKey(
22 const X509Certificate* certificate);
24 } // namespace net
26 #endif // NET_SSL_OPENSSL_PLATFORM_KEY_H_