Home
last modified time | relevance | path

Searched refs:getCaCertificate (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiKeyStoreTest.java89 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(FakeKeys.CA_CERT0); in setUp()
265 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testConfigureSuiteBRsa3072()
293 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testConfigureSuiteBEcdsa()
319 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(null); in testConfigureSuiteBRsa3072UserAndTofu()
352 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testConfigurationFailureSuiteB()
378 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(FakeKeys.CA_CERT0); in testConfigurationFailureSuiteBNon3072Rsa()
405 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testConfigurationFailureSuiteB2048Rsa()
431 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testConfigurationFailureSuiteBNon3072RsaInList()
462 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testConfigurationFailureSuiteBRsaAndEcdsaInList()
495 when(mWifiEnterpriseConfig.getCaCertificate()).thenReturn(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testConfigureFailureSuiteBEcdsa256()
[all …]
DWifiConfigManagerTest.java8165 assertEquals(FakeKeys.CA_CERT0, config.enterpriseConfig.getCaCertificate()); in testUpdateCaCertificateSuccess()
8182 assertEquals(null, config.enterpriseConfig.getCaCertificate()); in testUpdateCaCertificatePathSuccess()
8301 assertEquals(mockCaCert, config.enterpriseConfig.getCaCertificate()); in testUpdateCaCertificateSuccessWithSelfSignedCertificate()
8330 assertEquals(null, config.enterpriseConfig.getCaCertificate()); in testUpdateCaCertificateFailureWithSelfSignedCertificateAndTofuNotEnabled()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java76 assertNull(mEnterpriseConfig.getCaCertificate()); in testGetEmptyCaCertificate()
80 assertNull(mEnterpriseConfig.getCaCertificate()); in testGetEmptyCaCertificate()
93 assertEquals(mEnterpriseConfig.getCaCertificate(), cert0); in testSetGetSingleCaCertificate()
517 X509Certificate result = mEnterpriseConfig.getCaCertificate(); in testIsAppInstalledCaCert()
772 assertEquals(mEnterpriseConfig.getCaCertificate(), mockCert); in testSetCaCertificateForTrustOnFirstUseSuccess()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java417 .encodeToString(wifiConf.enterpriseConfig.getCaCertificate().getEncoded())); in assertCertificateInformation()
433 assertEquals(null, wifiConf.enterpriseConfig.getCaCertificate()); in assertEmptyCertificates()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSpecifier.java419 enterpriseConfig.getCaCertificate())) { in setWpa3Enterprise192BitModeConfig()
502 mWpa3EnterpriseConfig.getCaCertificate())) { in setSecurityParamsInWifiConfiguration()
DWifiNetworkSuggestion.java495 enterpriseConfig.getCaCertificate())) { in setWpa3Enterprise192BitModeConfig()
1045 mWpa3EnterpriseConfig.getCaCertificate())) { in setSecurityParamsInWifiConfiguration()
DWifiEnterpriseConfig.java1120 @Nullable public X509Certificate getCaCertificate() { in getCaCertificate() method in WifiEnterpriseConfig
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DUpdateParameter.java203 public X509Certificate getCaCertificate() { in getCaCertificate() method in UpdateParameter
DCredential.java906 public X509Certificate getCaCertificate() { in getCaCertificate() method in Credential
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java79 return (config.getClientCertificate() != null || config.getCaCertificate() != null in needsKeyStore()
DWifiServiceImpl.java3961 if (config.enterpriseConfig.getCaCertificate() != null) { in addOrUpdateNetworkInternal()
3963 new X509Certificate[]{config.enterpriseConfig.getCaCertificate()}; in addOrUpdateNetworkInternal()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java552 assertTrue(curConfig.getSubscriptionUpdate().getCaCertificate() == null); in installCertsAndKeysSuccess()
601 assertTrue(curConfig.getSubscriptionUpdate().getCaCertificate() != null); in installCertsAndKeysFailure()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java376 X509Certificate certificate = mConfig.getSubscriptionUpdate().getCaCertificate(); in installCertsAndKeys()
/packages/modules/Wifi/framework/api/
Dcurrent.txt298 method @Nullable public java.security.cert.X509Certificate getCaCertificate();
1164 method public java.security.cert.X509Certificate getCaCertificate();