• yfriedman@chromium.org's avatar
    Refactoring AndroidKeyStore to support a KeyStore running in another process · 2816e1f3
    yfriedman@chromium.org authored
    This CL does a number of things:
    1) Extracts an AndroidKeyStore interface which specifies the API needed by the
    native OpenSSL engine from an AndroidKeyStore. Also changes from using
    PrivateKey to AndroidPrivateKey to provide a layer of indirection needed for a
    remote PrivateKey
    2) Renames the previous AndroidKeyStore to AndroidKeyStoreLocalImpl as it's
    used for interacting with an in-process Android KeyStore
    3) Provides a new class AndroidKeyStoreRemoteImpl and corresponding
    IAndroidKeyStoreRemote.aidl that together specify the interface and interaction
    with a remote process managing an Android KeyStore
    4) Alters the PKCS11-based authentication flow to only use out a remote Android
    KeyStore
    5) Adds a new method to the previous AndroidKeyStore interface to facilitate
    clean up of remote keys
    
    BUG=341500
    CONTRIBUTOR=ppi@chromium.org
    R=bulach@chromium.org, klobag@chromium.org
    TBR=rsleevi
    NOTRY=true
    
    Review URL: https://codereview.chromium.org/166143002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251461 0039d316-1c4b-4281-b951-d872f2087c98
    2816e1f3
net_jni_registrar.cc 1.41 KB