root/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellPKCS11AuthenticationManager.java

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. isPKCS11AuthEnabled
  2. getClientCertificateAlias
  3. initialize
  4. getCertificateChain
  5. getPrivateKey

// 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.shell;

import android.content.Context;

import org.chromium.chrome.browser.PKCS11AuthenticationManager;
import org.chromium.net.AndroidPrivateKey;

import java.security.cert.X509Certificate;

/**
 * ChromeShell stub implementation of PKCS11AuthenticationManager.
 */
public class ChromeShellPKCS11AuthenticationManager implements PKCS11AuthenticationManager {
    @Override
    public boolean isPKCS11AuthEnabled() {
        return false;
    }

    @Override
    public String getClientCertificateAlias(String hostName, int port) {
        return null;
    }

    @Override
    public void initialize(Context context) {
    }


    @Override
    public X509Certificate[] getCertificateChain(String alias) {
        return null;
    }

    @Override
    public AndroidPrivateKey getPrivateKey(String alias) {
        return null;
    }
}

/* [<][>][^][v][top][bottom][index][help] */