OSDN Git Service

Add getmtime to Android KeyStore API
authorKenny Root <kroot@google.com>
Sat, 18 Aug 2012 04:13:48 +0000 (21:13 -0700)
committerKenny Root <kroot@google.com>
Mon, 20 Aug 2012 16:48:41 +0000 (09:48 -0700)
commit473c712b19bad992ab4eafcd43175fdce77b913d
tree53695829e6276f1ab596ec873b63e3fa9ad2c491
parentbc11e52cafa182996a338641c86bf3a07f571b1d
Add getmtime to Android KeyStore API

java.security.KeyStore requires that you be able to get the creation
date for any given entry. We'll approximate that through using the mtime
of the file in the keystore.

Change-Id: I16f74354a6c2e78a1a0b4dc2ae720c5391274e6f
keystore/java/android/security/KeyStore.java
keystore/tests/src/android/security/KeyStoreTest.java