OSDN Git Service

Use a custom TrustedCertificateStore
authorChad Brubaker <cbrubaker@google.com>
Wed, 25 Nov 2015 22:23:14 +0000 (14:23 -0800)
committerChad Brubaker <cbrubaker@google.com>
Tue, 1 Dec 2015 20:44:57 +0000 (12:44 -0800)
commit725fefb38a4cb0ab89de439f8131d6c46ccd8b17
tree3df2686f184e80221e296a019760ab69e316c0df
parentfa9beebb83abe38fa04c14dc628bc5c1b4b068cd
Use a custom TrustedCertificateStore

Providing a TrustedCertificateStore to TrustManagerImpl avoids loading
all of the trusted certificates into memory and indexing them. This
is mainly for the system certificate store where loading all of the
store into memory is wasteful for most applications.

Change-Id: I9e6057f6a13d38ea7762fcac2f62bd3ff475af39
core/java/android/security/net/config/NetworkSecurityTrustManager.java
core/java/android/security/net/config/TrustedCertificateStoreAdapter.java [new file with mode: 0644]