Home
last modified time | relevance | path

Searched refs:setCaCertificate (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java54 .setCaCertificate(TEST_CA_CERT) in testBuilderWriteAndReadBack()
92 .setCaCertificate(TEST_CA_CERT) in testFailToConstructWifiInfoWithoutSsid()
118 .setCaCertificate(TEST_CA_CERT) in testEquals()
135 .setCaCertificate(TEST_CA_CERT) in testEquals()
160 .setCaCertificate(TEST_CA_CERT) in testNotEquals()
177 .setCaCertificate(TEST_CA_CERT) in testNotEquals()
202 .setCaCertificate(TEST_CA_CERT) in testParceable()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiNetworkSpecifierTest.java157 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork()
191 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi()
226 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBRsaCerts()
264 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBEccCerts()
300 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetwork()
334 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetwork()
369 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetworkWith192BitApi()
404 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetworkWith192BitApi()
DWifiNetworkSuggestionTest.java291 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork()
326 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithStandardApi()
362 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBRsaCerts()
401 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBEccCerts()
438 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetwork()
474 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetworWith192BitApi()
509 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetwork()
545 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetworkWith192BitApi()
599 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSuggestionBuilderForEapNetworkWithoutMatch()
1474 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testSetCarrierMergedNetwork()
[all …]
DWifiEnterpriseConfigTest.java79 mEnterpriseConfig.setCaCertificate(null); in testGetEmptyCaCertificate()
92 mEnterpriseConfig.setCaCertificate(cert0); in testSetGetSingleCaCertificate()
516 mEnterpriseConfig.setCaCertificate(cert); in testIsAppInstalledCaCert()
607 noMatchConfig.setCaCertificate(FakeKeys.CA_CERT0); in testIsEnterpriseConfigServerCertNotEnabled()
669 config.setCaCertificate(FakeKeys.CA_CERT0); in testHasCaCertificate()
740 config.setCaCertificate(caCertificate); in createEnterpriseConfig()
758 mEnterpriseConfig.setCaCertificate(mockCert); in testSetCaCertificateExceptionWithSelfSignedCert()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/
DCredentialTest.java69 cred.setCaCertificate(caCerts[0]); in createCredential()
195 cred.setCaCertificate(null); in validateUserCredentialWithoutCaCert()
313 cred.setCaCertificate(null); in validateCertCredentialWithoutCaCert()
DUpdateParameterTest.java61 updateParam.setCaCertificate(FakeKeys.CA_CERT0); in createUpdateParameter()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DUpdateParameter.java193 public void setCaCertificate(X509Certificate caCertificate) { in setCaCertificate() method in UpdateParameter
394 updateParam.setCaCertificate(ParcelUtil.readCertificate(in));
DCredential.java883 public void setCaCertificate(X509Certificate caCertificate) { in setCaCertificate() method in Credential
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java173 builder.setCaCertificate(bundle.getString(EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE)); in createBuilderFromPersistableBundle()
269 public Builder setCaCertificate(String caCertificate) { in setCaCertificate() method in WifiInfo.Builder
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java364 .setCaCertificate(null) in buildTestWifiInfoForEAPJustAuthMethods()
379 .setCaCertificate(caCertificate) in buildTestWifiInfoForEAPWithCertificates()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DConfigParserTest.java114 credential.setCaCertificate(FakeKeys.CA_CERT0); in generateConfigurationFromProfile()
DPasspointTestUtils.java64 cred.setCaCertificate(null); in createCredential()
DPasspointConfigurationTest.java607 cred.setCaCertificate(caCerts[0]); in createCredential()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DConfigParser.java195 config.getCredential().setCaCertificate(parseCACert(caCertData)); in createPasspointConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java531 credential.setCaCertificate(FakeKeys.CA_CERT0); in createTestConfigWithUserCredential()
DWifiConfigurationTestUtil.java501 configuration.enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in createEapSuiteBNetwork()
506 configuration.enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in createEapSuiteBNetwork()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java178 wifiEnterpriseConfig.setCaCertificate(buildCACertificate(wifiInfo.caCertificate)); in updateWifiEnterpriseConfigFromWifiInfo()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java527 updateParameter.setCaCertificate(mRemediationCaCertificate); in installCertsAndKeysSuccess()
577 updateParameter.setCaCertificate(mRemediationCaCertificate); in installCertsAndKeysFailure()
622 updateParameter.setCaCertificate(FakeKeys.CA_CERT0); in uninstallCertsAndKeys()
DPasspointManagerTest.java388 credential.setCaCertificate(FakeKeys.CA_CERT0); in createTestConfigWithUserCredentialAndRealm()
2728 config.getCredential().setCaCertificate(null); in verifyNoRootCaMetrics()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParser.java769 .setCaCertificate(getStringExtraFromLongName( in parseWifiInfoFromExtras()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java622 mPasspointConfiguration.getSubscriptionUpdate().setCaCertificate( in installTrustRootCertificates()
DPasspointProvider.java396 mConfig.getSubscriptionUpdate().setCaCertificate(null); in installCertsAndKeys()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiEnterpriseConfig.java1078 public void setCaCertificate(@Nullable X509Certificate cert) { in setCaCertificate() method in WifiEnterpriseConfig
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java648 .setCaCertificate(TEST_CA_CERT) in testParse_WifiInfoWithCertificates()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java4417 newConfig.enterpriseConfig.setCaCertificate(caCert);

12