Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: net/ssl/ssl_platform_key.h

Issue 1178193002: Sign CertificateVerify messages on a background thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix net_nacl Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
Ryan Sleevi 2015/06/23 15:27:28 Date
davidben 2015/06/24 21:43:12 Done. (Originally originally this was a copy of op
davidben 2015/06/29 17:37:52 Updated the cc files also to 2015 since that shoul
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_
7
8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "net/ssl/ssl_private_key.h"
Ryan Sleevi 2015/06/23 15:27:29 Can forward declare
davidben 2015/06/24 21:43:12 Done.
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 X509Certificate* certificate,
25 const scoped_refptr<base::TaskRunner>& task_runner);
26
27 } // namespace net
28
29 #endif // NET_SSL_SSL_PLATFORM_KEY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698