Home
last modified time | relevance | path

Searched refs:keystore (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLSocketFactory.java179 final KeyStore keystore, in SSLSocketFactory() argument
191 if (keystore != null) { in SSLSocketFactory()
192 keymanagers = createKeyManagers(keystore, keystorePassword); in SSLSocketFactory()
205 final KeyStore keystore, in SSLSocketFactory() argument
210 this(TLS, keystore, keystorePassword, truststore, null, null); in SSLSocketFactory()
213 public SSLSocketFactory(final KeyStore keystore, final String keystorePassword) in SSLSocketFactory() argument
216 this(TLS, keystore, keystorePassword, null, null, null); in SSLSocketFactory()
248 private static KeyManager[] createKeyManagers(final KeyStore keystore, final String password) in createKeyManagers() argument
250 if (keystore == null) { in createKeyManagers()
255 kmfactory.init(keystore, password != null ? password.toCharArray(): null); in createKeyManagers()
[all …]
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java305 java.security.KeyStore keystore = java.security.KeyStore.getInstance("PKCS12"); in extractPkcs12Internal() local
307 keystore.load(new ByteArrayInputStream(getData(KeyChain.EXTRA_PKCS12)), in extractPkcs12Internal()
310 Enumeration<String> aliases = keystore.aliases(); in extractPkcs12Internal()
317 KeyStore.Entry entry = keystore.getEntry(alias, passwordProtection); in extractPkcs12Internal()