Home
last modified time | relevance | path

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

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java53 .setCaCertificate(TEST_CA_CERT) in testBuilderWriteAndReadBack()
91 .setCaCertificate(TEST_CA_CERT) in testFailToConstructWifiInfoWithoutSsid()
117 .setCaCertificate(TEST_CA_CERT) in testEquals()
134 .setCaCertificate(TEST_CA_CERT) in testEquals()
159 .setCaCertificate(TEST_CA_CERT) in testNotEquals()
176 .setCaCertificate(TEST_CA_CERT) in testNotEquals()
201 .setCaCertificate(TEST_CA_CERT) in testParceable()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiNetworkSuggestionTest.java286 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork()
321 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithStandardApi()
357 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBRsaCerts()
396 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBEccCerts()
433 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetwork()
469 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetworWith192BitApi()
504 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetwork()
540 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetworkWith192BitApi()
594 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSuggestionBuilderForEapNetworkWithoutMatch()
1454 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testSetCarrierMergedNetwork()
[all …]
DWifiNetworkSpecifierTest.java154 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork()
188 enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi()
223 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBRsaCerts()
261 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBEccCerts()
297 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetwork()
331 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetwork()
366 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetworkWith192BitApi()
401 enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetworkWith192BitApi()
DWifiEnterpriseConfigTest.java71 mEnterpriseConfig.setCaCertificate(null); in testGetEmptyCaCertificate()
84 mEnterpriseConfig.setCaCertificate(cert0); in testSetGetSingleCaCertificate()
479 mEnterpriseConfig.setCaCertificate(cert); in testIsAppInstalledCaCert()
570 noMatchConfig.setCaCertificate(FakeKeys.CA_CERT0); in testIsEnterpriseConfigServerCertNotEnabled()
653 config.setCaCertificate(caCertificate); in createEnterpriseConfig()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/
DCredentialTest.java68 cred.setCaCertificate(caCerts[0]); in createCredential()
194 cred.setCaCertificate(null); in validateUserCredentialWithoutCaCert()
312 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.java873 public void setCaCertificate(X509Certificate caCertificate) { in setCaCertificate() method in Credential
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java172 builder.setCaCertificate(bundle.getString(EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE)); in createBuilderFromPersistableBundle()
262 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/
DPasspointTestUtils.java61 cred.setCaCertificate(null); in createCredential()
DConfigParserTest.java114 credential.setCaCertificate(FakeKeys.CA_CERT0); in generateConfigurationFromProfile()
DPasspointConfigurationTest.java600 cred.setCaCertificate(caCerts[0]); in createCredential()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParser.java232 .setCaCertificate(getPropertyFromLongName( in parseWifiInfoFromProperties()
DExtrasProvisioningDataParser.java734 .setCaCertificate(getStringExtraFromLongName( in parseWifiInfoFromExtras()
/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/
DWifiConfigurationTestUtil.java487 configuration.enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_ECDSA_CERT); in createEapSuiteBNetwork()
492 configuration.enterpriseConfig.setCaCertificate(FakeKeys.CA_SUITE_B_RSA3072_CERT); in createEapSuiteBNetwork()
DNetworkSuggestionStoreDataTest.java535 credential.setCaCertificate(FakeKeys.CA_CERT0); in createTestConfigWithUserCredential()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java518 updateParameter.setCaCertificate(mRemediationCaCertificate); in installCertsAndKeysSuccess()
568 updateParameter.setCaCertificate(mRemediationCaCertificate); in installCertsAndKeysFailure()
613 updateParameter.setCaCertificate(FakeKeys.CA_CERT0); in uninstallCertsAndKeys()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java178 wifiEnterpriseConfig.setCaCertificate(buildCACertificate(wifiInfo.caCertificate)); in updateWifiEnterpriseConfigFromWifiInfo()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiEnterpriseConfig.java793 public void setCaCertificate(@Nullable X509Certificate cert) { in setCaCertificate() method in WifiEnterpriseConfig
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java343 .setCaCertificate(TEST_CA_CERT) in testParse_nfcProvisioning_wifiWithCertificates()
DExtrasProvisioningDataParserTest.java645 .setCaCertificate(TEST_CA_CERT) in testParse_WifiInfoWithCertificates()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java622 mPasspointConfiguration.getSubscriptionUpdate().setCaCertificate( in installTrustRootCertificates()
DPasspointProvider.java350 mConfig.getSubscriptionUpdate().setCaCertificate(null); in installCertsAndKeys()

12