Chromium Code Reviews| Index: net/ssl/ssl_platform_key_test.h |
| diff --git a/net/ssl/ssl_platform_key_test.h b/net/ssl/ssl_platform_key_test.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8dca06965225f2182cd3ab3d859b26cfa70ad1ec |
| --- /dev/null |
| +++ b/net/ssl/ssl_platform_key_test.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef NET_SSL_SSL_PLATFORM_KEY_TEST_H_ |
| +#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.
|
| + |
| +#include <openssl/digest.h> |
|
davidben
2016/01/28 22:24:10
Not used?
svaldez
2016/01/29 17:19:30
Done.
|
| +#include <openssl/evp.h> |
| + |
| +#include "base/memory/ref_counted.h" |
| +#include "crypto/scoped_openssl_types.h" |
| +#include "net/base/net_export.h" |
| + |
| +namespace net { |
| + |
| +class SSLPrivateKey; |
| + |
| +// Returns a new SSLPrivateKey which uses |key| for signing operations or |
| +// nullptr on error. |
| +NET_EXPORT scoped_refptr<SSLPrivateKey> WrapOpenSSLPrivateKey( |
| + crypto::ScopedEVP_PKEY key); |
| + |
| +} // namespace net |
| + |
| +#endif // NET_SSL_SSL_PLATFORM_KEY_TEST_H_ |