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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/smartcard/PKCS11AuthenticationManager.java

Issue 1474603004: Remove Android support for out-of-process KeyStores (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated comments Created 5 years 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: chrome/android/java/src/org/chromium/chrome/browser/smartcard/PKCS11AuthenticationManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/smartcard/PKCS11AuthenticationManager.java b/chrome/android/java/src/org/chromium/chrome/browser/smartcard/PKCS11AuthenticationManager.java
deleted file mode 100644
index 5cc66e264aafbe96a6ce5751a57731c7160decd2..0000000000000000000000000000000000000000
--- a/chrome/android/java/src/org/chromium/chrome/browser/smartcard/PKCS11AuthenticationManager.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// 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.chrome.browser.smartcard;
-
-import android.content.Context;
-
-import org.chromium.net.AndroidPrivateKey;
-
-import java.security.cert.X509Certificate;
-
-/**
- * Defines API for managing interaction with SmartCard-based certificate storage using PKCS11.
- */
-public interface PKCS11AuthenticationManager {
- /**
- * @return true iff SmartCard-based authentication is available.
- */
- public boolean isPKCS11AuthEnabled();
-
- /**
- * Retrieves the preferred client certificate alias for the given host, port pair, or null if
- * none can be retrieved.
- *
- * @param hostName The host for which to retrieve client certificate.
- * @param port The port to use in conjunction with host to retrieve client certificate.
- */
- public String getClientCertificateAlias(String hostName, int port);
-
- /**
- * Returns the X509Certificate chain for the requested alias, or null if no there is no result.
- */
- public X509Certificate[] getCertificateChain(String alias);
-
- /**
- * Performs necessary initializing for using a PKCS11-based KeysStore.
- */
- public void initialize(Context context);
-
- /**
- * Returns the AndroidPrivateKey for the requested alias, or null if there is no result.
- */
- public AndroidPrivateKey getPrivateKey(String alias);
-}

Powered by Google App Engine
This is Rietveld 408576698