| Index: net/ssl/test_ssl_private_key.h
|
| diff --git a/net/ssl/test_ssl_private_key.h b/net/ssl/test_ssl_private_key.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f9ae906d30ad43ef54b17c35ed09bdad45592e00
|
| --- /dev/null
|
| +++ b/net/ssl/test_ssl_private_key.h
|
| @@ -0,0 +1,25 @@
|
| +// 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_TEST_SSL_PLATFORM_KEY_H_
|
| +#define NET_SSL_TEST_SSL_PLATFORM_KEY_H_
|
| +
|
| +#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_TEST_SSL_PLATFORM_KEY_H_
|
|
|