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

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: rsleevi comments 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.
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"
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,
Ryan Sleevi 2015/06/15 22:55:23 Don't make this const. That's not the API contract
davidben 2015/06/17 20:47:02 (That just came from openssl_platform_key.h.) Fixe
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