Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1736)

Unified Diff: net/android/java/src/org/chromium/net/AndroidPrivateKey.java

Issue 166143002: Refactoring AndroidKeyStore to support a KeyStore running in another process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
+}

Powered by Google App Engine
This is Rietveld 408576698