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

Side by Side Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellPKCS11AuthenticationManager.java

Issue 1063033002: Move ChromeShellPKCS11AuthenticationManager to Empty... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed findbug error Created 5 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.chrome.shell;
6
7 import android.content.Context;
8
9 import org.chromium.chrome.browser.PKCS11AuthenticationManager;
10 import org.chromium.net.AndroidPrivateKey;
11
12 import java.security.cert.X509Certificate;
13
14 /**
15 * ChromeShell stub implementation of PKCS11AuthenticationManager.
16 */
17 public class ChromeShellPKCS11AuthenticationManager implements PKCS11Authenticat ionManager {
18 @Override
19 public boolean isPKCS11AuthEnabled() {
20 return false;
21 }
22
23 @Override
24 public String getClientCertificateAlias(String hostName, int port) {
25 return null;
26 }
27
28 @Override
29 public void initialize(Context context) {
30 }
31
32
33 @Override
34 public X509Certificate[] getCertificateChain(String alias) {
35 return null;
36 }
37
38 @Override
39 public AndroidPrivateKey getPrivateKey(String alias) {
40 return null;
41 }
42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698