From 78959916e771114ff8c48fc181e34a7dff0aa672 Mon Sep 17 00:00:00 2001 From: Ben Komalo Date: Wed, 4 May 2011 10:15:35 -0700 Subject: [PATCH] Add support for client side SSL certificates This introduces the ability for clients (i.e. the exchange service) to register "special connection types" that use a client certificate stored in the system keystore. The alias is encoded into the URI scheme for those clients, and the socket factory used for those connections will use the approprate KeyManager. Lots of TODO's, including bubbling a lot of this up to the higher level and wiring the UI to actually set the alias in the HostAuth table. Change-Id: If5e1901c5b58731fdabd3e6b6da7198134b512d2 --- AndroidManifest.xml | 3 + .../utility/EmailClientConnectionManager.java | 131 +++++++++++++++ .../android/emailcommon/utility/SSLUtils.java | 149 +++++++++++++++++- 3 files changed, 276 insertions(+), 7 deletions(-) create mode 100644 emailcommon/src/com/android/emailcommon/utility/EmailClientConnectionManager.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index c6ae89328..021a7f1cc 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -70,6 +70,9 @@ + +