Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef NET_SSL_OPENSSL_PLATFORM_KEY_H_ | |
| 6 #define NET_SSL_OPENSSL_PLATFORM_KEY_H_ | |
| 7 | |
| 8 #include "crypto/scoped_openssl_types.h" | |
| 9 | |
| 10 #include "net/base/net_export.h" | |
|
wtc
2014/07/16 00:09:58
You don't need to include this header.
davidben
2014/07/16 16:25:35
Done.
| |
| 11 | |
| 12 namespace net { | |
| 13 | |
| 14 class X509Certificate; | |
| 15 | |
| 16 // Looks up the private key from the platform key store corresponding | |
| 17 // to |certificate|'s public key. Then wraps it in an OpenSSL EVP_PKEY | |
| 18 // structure to be used for SSL client auth. | |
| 19 // | |
| 20 // TODO(davidben): This combines looking up a private key with | |
| 21 // wrapping it in an OpenSSL structure. This will be separated with | |
| 22 // https://crbug.com/394131 | |
| 23 crypto::ScopedEVP_PKEY FetchClientCertPrivateKey( | |
| 24 const X509Certificate* certificate); | |
| 25 | |
| 26 } // namespace net | |
| 27 | |
| 28 #endif // NET_SSL_OPENSSL_PLATFORM_KEY_H_ | |
| OLD | NEW |