Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |