Searched refs:keystore (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | SSLSocketFactory.java | 179 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/ |
D | CredentialHelper.java | 364 java.security.KeyStore keystore = loadPkcs12Internal(password); in extractPkcs12Internal() local 366 Enumeration<String> aliases = keystore.aliases(); in extractPkcs12Internal() 374 if (keystore.isKeyEntry(alias)) { in extractPkcs12Internal() 375 KeyStore.Entry entry = keystore.getEntry(alias, password); in extractPkcs12Internal() 396 java.security.KeyStore keystore = java.security.KeyStore.getInstance("PKCS12"); in loadPkcs12Internal() local 397 keystore.load(new ByteArrayInputStream(getData(KeyChain.EXTRA_PKCS12)), in loadPkcs12Internal() 399 return keystore; in loadPkcs12Internal()
|
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/ |
D | CertInstallerHelper.java | 80 java.security.KeyStore keystore = null; in extractCertificate() local 87 keystore = java.security.KeyStore.getInstance("PKCS12"); in extractCertificate() 89 keystore.load(new ByteArrayInputStream(raw), passwordProtection.getPassword()); in extractCertificate() 92 Enumeration<String> aliases = keystore.aliases(); in extractCertificate() 101 java.security.KeyStore.Entry entry = keystore.getEntry(alias, passwordProtection); in extractCertificate()
|