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

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: 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..67746a8a506fe4f9921ee37c5209276e8ab9beea
--- /dev/null
+++ b/net/android/java/src/org/chromium/net/AndroidPrivateKey.java
@@ -0,0 +1,13 @@
+// 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;
+
+/**
+ * Abstract private key that bundles the PrivateKey and AndroidKeyStore that it belongs to.
+ */
+public interface AndroidPrivateKey {
+ /** @return AndroidKeyStore that handles this key. */
bulach 2014/02/14 10:45:29 as above, I think this can be @CalledByNative
Yaron 2014/02/14 19:36:56 Done.
+ AndroidKeyStore getKeyStore();
+}

Powered by Google App Engine
This is Rietveld 408576698