Index: net/android/java/src/org/chromium/net/AndroidPrivateKey.java |
diff --git a/net/android/java/src/org/chromium/net/AndroidPrivateKey.java b/net/android/java/src/org/chromium/net/AndroidPrivateKey.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a6df6d475178f4ef4bc868aab32e3d2fb510ff49 |
--- /dev/null |
+++ b/net/android/java/src/org/chromium/net/AndroidPrivateKey.java |
@@ -0,0 +1,18 @@ |
+// Copyright 2014 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. |
+ |
+package org.chromium.net; |
+ |
+import org.chromium.base.CalledByNative; |
+import org.chromium.base.JNINamespace; |
+ |
+/** |
+ * Abstract private key that bundles the PrivateKey and AndroidKeyStore that it belongs to. |
+ */ |
+@JNINamespace("net::android") |
+public interface AndroidPrivateKey { |
+ /** @return AndroidKeyStore that handles this key. */ |
+ @CalledByNative |
+ AndroidKeyStore getKeyStore(); |
+} |