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

Side by Side Diff: net/android/java/src/org/chromium/net/IAndroidKeyStoreRemote.aidl

Issue 166143002: Refactoring AndroidKeyStore to support a KeyStore running in another process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
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.net;
6
7 /**
8 * Interface for communication with an Android KeyStore in another process.
9 */
10 interface IAndroidKeyStoreRemote {
11 // Remote calls for SSlClientCertificateRequest - these allow retrieving
12 // the alias of the certificate to be used and its encoded chain.
13 String getClientCertificateAlias();
14 byte[] getEncodedCertificateChain(in String alias);
15 String getPrivateKeyHandle(in String alias);
16
17 // Remote calls for AndroidKeyStore - these functions are for remoting the
18 // calls from AndroidKeyStore using the handle provided by
19 // |getPrivateHandle|.
20 byte[] getRSAKeyModulus(in String handle);
21 byte[] getPrivateKeyEncodedBytes(in String handle);
22 byte[] getDSAKeyParamQ(in String handle);
23 byte[] getECKeyOrder(in String handle);
24 byte[] rawSignDigestWithPrivateKey(in String handle, in byte[] message);
25 int getPrivateKeyType(in String handle);
26 void releaseKey(in String handle);
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698