1 // Copyright 2014 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.
5 #ifndef NET_ANDROID_ANDROID_PRIVATE_KEY_H
6 #define NET_ANDROID_ANDROID_PRIVATE_KEY_H
10 #include "base/android/scoped_java_ref.h"
11 #include "base/basictypes.h"
12 #include "net/base/net_export.h"
18 // Returns the KeyStore associated with a given AndroidPrivateKey
19 NET_EXPORT
base::android::ScopedJavaLocalRef
<jobject
> GetKeyStore(
22 // Register JNI methods
23 NET_EXPORT
bool RegisterAndroidPrivateKey(JNIEnv
* env
);
25 } // namespace android
28 #endif // NET_ANDROID_ANDROID_PRIVATE_KEY_H