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

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

Issue 1639463003: Use SSLPrivateKey for testing client authentication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding header. Created 4 years, 10 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 2016 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_TEST_H_
6 #define NET_SSL_SSL_PLATFORM_KEY_TEST_H_
davidben 2016/01/28 22:24:10 Maybe test_ssl_private_key.h or ssl_private_key_op
svaldez 2016/01/29 17:19:30 Done.
7
8 #include <openssl/digest.h>
davidben 2016/01/28 22:24:10 Not used?
svaldez 2016/01/29 17:19:30 Done.
9 #include <openssl/evp.h>
10
11 #include "base/memory/ref_counted.h"
12 #include "crypto/scoped_openssl_types.h"
13 #include "net/base/net_export.h"
14
15 namespace net {
16
17 class SSLPrivateKey;
18
19 // Returns a new SSLPrivateKey which uses |key| for signing operations or
20 // nullptr on error.
21 NET_EXPORT scoped_refptr<SSLPrivateKey> WrapOpenSSLPrivateKey(
22 crypto::ScopedEVP_PKEY key);
23
24 } // namespace net
25
26 #endif // NET_SSL_SSL_PLATFORM_KEY_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698