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

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: more mac build fix, this is blind while mac checkout syncs Created 5 years, 5 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
« no previous file with comments | « net/ssl/openssl_platform_key_win.cc ('k') | net/ssl/ssl_platform_key_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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_
7
8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h"
10
11 namespace base {
12 class SequencedTaskRunner;
13 }
14
15 namespace net {
16
17 class SSLPrivateKey;
18 class X509Certificate;
19
20 // Looks up the private key from the platform key store corresponding to
21 // |certificate|'s public key and returns an SSLPrivateKey which offloads
22 // signing operations to |task_runner|. |task_runner| is a SequencedTaskRunner
23 // to allow for buggy third-party smartcard drivers.
24 scoped_ptr<SSLPrivateKey> FetchClientCertPrivateKey(
25 X509Certificate* certificate,
26 scoped_refptr<base::SequencedTaskRunner> task_runner);
27
28 } // namespace net
29
30 #endif // NET_SSL_SSL_PLATFORM_KEY_H_
OLDNEW
« no previous file with comments | « net/ssl/openssl_platform_key_win.cc ('k') | net/ssl/ssl_platform_key_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698