Searched refs:TLS (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DSSLSocketFactory.java59 * Layered socket factory for TLS/SSL connections, based on JSSE.
145 public static final String TLS = "TLS"; field in class:SSLSocketFactory
193 algorithm = TLS;
215 this(TLS, keystore, keystorePassword, truststore, null, null);
221 this(TLS, keystore, keystorePassword, null, null, null);
227 this(TLS, null, null, truststore, null, null);
354 * This factory creates TLS/SSL socket connections
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java268 public static final int TLS = 1; field in class:WifiEnterpriseConfig.Eap
283 { "PEAP", "TLS", "TTLS", "PWD", "SIM", "AKA", "AKA'", "WFA-UNAUTH-TLS" };
376 if (mEapMethod != Eap.TLS && mPhase2Method != Phase2.NONE) {
420 * @param eapMethod is one {@link Eap#PEAP}, {@link Eap#TLS}, {@link Eap#TTLS} or
427 case Eap.TLS:
/frameworks/base/packages/Osu/src/com/android/configparse/
H A DConfigBuilder.java134 throw new IOException("No key and/or cert passed for EAP-TLS");
137 throw new IOException("Invalid certificate type for TLS: " +
233 return WifiEnterpriseConfig.Eap.TLS;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointProvider.java338 case WifiEnterpriseConfig.Eap.TLS:
501 config.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DTelephonyUtilTest.java124 WifiEnterpriseConfig.Eap.TLS, WifiEnterpriseConfig.Phase2.NONE)));
138 WifiEnterpriseConfig.Eap.TLS, WifiEnterpriseConfig.Phase2.NONE)));
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DWifiConfigurationHelper.java291 if ("TLS".equalsIgnoreCase(eapMethod)) {
292 return WifiEnterpriseConfig.Eap.TLS;
300 throw new IllegalArgumentException("EAP method must be one of TLS, TTLS, or PEAP");
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointManagerTest.java452 * Verify taht adding a provider with an invalid credential will fail (using EAP-TLS
460 // EAP-TLS not allowed for user credential.
1011 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
1054 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
1081 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
H A DPasspointProviderTest.java718 assertEquals(WifiEnterpriseConfig.Eap.TLS, wifiEnterpriseConfig.getEapMethod());
882 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
/frameworks/base/wifi/tests/src/android/net/wifi/
H A DWifiEnterpriseConfigTest.java246 /** Verifies that the EAP inner method is reset when we switch to TLS */
260 // Change the EAP method to TLS which does not support a phase2.
261 mEnterpriseConfig.setEapMethod(Eap.TLS);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationTestUtil.java403 config.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
405 config.setCaCertificateAliases(new String[] {TEST_CA_CERT_ALIAS + "TLS"});
412 config.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
H A DWifiConfigManagerTest.java956 // Reset the |password| field in WifiEnterpriseConfig and modify the config to TLS/None.
957 network.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
1378 assertFalse(eapNetwork.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS);
1379 eapNetwork.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
H A DWifiServiceImplTest.java1526 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStaNetworkHal.java714 case ISupplicantStaNetwork.EapMethod.TLS:
715 return WifiEnterpriseConfig.Eap.TLS;
879 case WifiEnterpriseConfig.Eap.TLS:
880 return ISupplicantStaNetwork.EapMethod.TLS;

Completed in 433 milliseconds