History log of /packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a921a7f6b86e2564f70e841c0b10b368f6b8d495 07-Jul-2011 Brian Carlstrom <bdc@google.com> Canceling cert installation should not delete the file

Also fix to exit CertFileList when list becomes empty

Bug: 4600283
Change-Id: Ib0a27f8d2f9ee4be8da02625e9f919bcfa6e791b
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
00736f76392c742e9c72c51f158ad7020f22524c 29-Jun-2011 Brian Carlstrom <bdc@google.com> Tracking move to KeyChain credential installation API

Bug: 3497064
Change-Id: I4d49354f4687f95d8239ea98d79bd61d06c4ce82
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
fcd5fb26acec88e98c3bedb41d4510888f7890cd 24-Jun-2011 Brian Carlstrom <bdc@google.com> Replace KeyChainActivity placeholder UI with more polished dialog (3 of 5)

frameworks/base

Extended KeyChain.chooserPrivateKeyAlias to allow caller to supply
preferred choice to be selected in chooser. This allows Email
settings to highlight the current choice when allowing user to
change settings.
keystore/java/android/security/KeyChain.java
api/current.txt

Implemented KeyChain functionality to pass host and port
information to KeyChainActivity for display.
keystore/java/android/security/KeyChain.java

KeyChain now sends a PendingIntent as part of the Intent it sends
to the KeyChainActivity which can be used to identify the caller
in reliable way.
keystore/java/android/security/KeyChain.java

Moved .pfx/.p12/.cer/.crt constants to Credentials for reuse.
Added Credentials.install variant with no value for use from KeyChainActivity
keystore/java/android/security/Credentials.java

packages/apps/CertInstaller
Source of extension constants now in Credentials
src/com/android/certinstaller/CertFile.java

packages/apps/Browser
Have browser supply host and port information to KeyChain.choosePrivateKeyAlias
Tracking KeyChain.choosePrivateKeyAlias API change
src/com/android/browser/Tab.java

packages/apps/Email
Tracking KeyChain.choosePrivateKeyAlias API change
src/com/android/email/view/CertificateSelector.java

packages/apps/KeyChain

KeyChain now depends on bouncycastle X509Name for formatting
X500Principals, since the 4 X500Principal formatting options could
not format emailAddress attributes in a human readable way and its
the most important attribute to display for client certificates in
most cases.
Android.mk

Changing the UI to a dialog, make the activity style transparent.
AndroidManifest.xml
res/values/styles.xml

Layout for chooser dialog
res/layout/cert_chooser.xml

Layout for list items in chooser
res/layout/cert_item.xml

New resources for dialog including comments for translators.
res/values/strings.xml

New dialog based KeyChainActivity. Now also shows requesting app
and requesting server. Now can preselect a specified alias. New
link directly to CertInstaller.

src/com/android/keychain/KeyChainActivity.java

Fix KeyChainTestActivity to work with TestKeyStore changes that
were causing network activity on the UI to look up the name of
localhost. Also track KeyChain.choosePrivateKeyAlias API change.

tests/src/com/android/keychain/tests/KeyChainTestActivity.java

Change-Id: I789faaf65cb36ddc16ce8cd1e8a803b0bde745e3
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
f3ece3c05b05b6780d9bee0dd90de0df891207e0 18-May-2011 Brian Carlstrom <bdc@google.com> Add support for .cer and .pfx for certificates and PKCS#12 files

Change-Id: Ie37afbb61aa4cdc52275d661232d188db125446d
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
30389d0148993679892385e007596a56ed46b6ac 18-May-2011 Brian Carlstrom <bdc@google.com> CertInstaller should use RESULT_OK to communicate success to callers

Change-Id: I6f25ffab113573169badd7cb116381f3412fbf31
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
3e17f9f04b9f7d153757bfd2f34a5fe60698adcb 06-Nov-2010 Mohammad Shamsi <m.h.shams@gmail.com> code cleanup : unused import statement, local vars and static finals.

Change-Id: I49b96ce37385989fb2208cecbf4cddcdd0e0d240
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
832878cac1a136b1952de51cc2417d4e18188403 11-Feb-2010 Hung-ying Tyan <tyanh@google.com> Fix two certinstaller bugs.

+ Certinstaller does not handle key pair correctly when keystore is locked.
http://b/issue?id=2351926
+ Certinstaller crashes when installing from SD card where the "download"
folder does not exist.
+ Remove redundant res IDs.
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
d674440a49f278793aa2a2bb01c231f8cea7f8c0 24-Oct-2009 Hung-ying Tyan <tyanh@google.com> Handling missing sd card in certinstaller.

http://b/issue?id=2211438
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
7b4cee910e1e755d2f0468a5f79aaa97e926a3a9 23-Oct-2009 Hung-ying Tyan <tyanh@google.com> Add support for installing certs in PEM from SD card
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java
3e722cadf66802194267460fe5de77e6c18530eb 15-Oct-2009 Hung-ying Tyan <tyanh@google.com> An overhaul on certinstaller.

* Fix state handling, identifying first-time-only execution etc.
* Fix the case where more than one alias exists in a pkcs12 keystore.
(http://b/issue?id=2202474)
* Improve UX: go ahead to install when there's only one cert file on SD card.
* Improve UX: make background transparent when not browsing files.
* Break the code into multiple activies and helper classes.
/packages/apps/CertInstaller/src/com/android/certinstaller/CertFile.java