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

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

Issue 164053004: Refactor AndroidKeyStore to allow remote key handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch to abstract AndroidPrivateKey. 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
« no previous file with comments | « net/android/java/src/org/chromium/net/AndroidKeyStoreRemote.java ('k') | net/android/keystore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..53ef7b33b5ee3d78686762c241047b038c1ac49c
--- /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 AndroidKeyStore that it belongs to.
+ */
+public interface AndroidPrivateKey {
+ /** @return AndroidKeyStore that handles this key. */
+ AndroidKeyStore getKeyStore();
+}
« no previous file with comments | « net/android/java/src/org/chromium/net/AndroidKeyStoreRemote.java ('k') | net/android/keystore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698