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_SSL_PLATFORM_KEY_H_ | |
| 6 #define NET_SSL_SSL_PLATFORM_KEY_H_ | |
|
davidben
2015/06/12 21:39:01
I renamed these from openssl_foo because there's n
Ryan Sleevi
2015/06/15 22:35:27
Yes, please do.
| |
| 7 | |
| 8 #include "base/memory/ref_counted.h" | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "net/ssl/ssl_private_key.h" | |
| 11 | |
| 12 namespace base { | |
| 13 class TaskRunner; | |
| 14 } | |
| 15 | |
| 16 namespace net { | |
| 17 | |
| 18 class X509Certificate; | |
| 19 | |
| 20 // Looks up the private key from the platform key store corresponding | |
| 21 // to |certificate|'s public key and returns an SSLPrivateKey which offloads | |
| 22 // signing operations to |task_runner|. | |
| 23 scoped_ptr<SSLPrivateKey> FetchClientCertPrivateKey( | |
| 24 const X509Certificate* certificate, | |
| 25 const scoped_refptr<base::TaskRunner>& task_runner); | |
| 26 | |
| 27 } // namespace net | |
| 28 | |
| 29 #endif // NET_SSL_SSL_PLATFORM_KEY_H_ | |
| OLD | NEW |