| Index: net/ssl/ssl_platform_key_android.h
|
| diff --git a/net/ssl/ssl_platform_key_android.h b/net/ssl/ssl_platform_key_android.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2791bb3389f4522969145e47e335400d2871b6ee
|
| --- /dev/null
|
| +++ b/net/ssl/ssl_platform_key_android.h
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2015 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_ANDROID_H_
|
| +#define NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
|
| +
|
| +#include <jni.h>
|
| +
|
| +#include "base/memory/ref_counted.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. |key| must be a java.security.PrivateKey object.
|
| +NET_EXPORT scoped_refptr<SSLPrivateKey> WrapJavaPrivateKey(jobject key);
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_SSL_SSL_PLATFORM_KEY_ANDROID_H_
|
|
|