Home
last modified time | relevance | path

Searched refs:trustRootCertList (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java308 Map<String, byte[]> trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertUrl() local
310 trustRootCertList.put(new String(rawUrlBytes, StandardCharsets.UTF_8), in validateConfigWithInvalidTrustRootCertUrl()
312 config.setTrustRootCertList(trustRootCertList); in validateConfigWithInvalidTrustRootCertUrl()
316 trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertUrl()
317 trustRootCertList.put(null, new byte[CERTIFICATE_FINGERPRINT_BYTES]); in validateConfigWithInvalidTrustRootCertUrl()
318 config.setTrustRootCertList(trustRootCertList); in validateConfigWithInvalidTrustRootCertUrl()
332 Map<String, byte[]> trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertFingerprint() local
333 trustRootCertList.put("test.cert.com", new byte[CERTIFICATE_FINGERPRINT_BYTES + 1]); in validateConfigWithInvalidTrustRootCertFingerprint()
334 config.setTrustRootCertList(trustRootCertList); in validateConfigWithInvalidTrustRootCertFingerprint()
337 trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertFingerprint()
[all …]
DPasspointTestUtils.java142 Map<String, byte[]> trustRootCertList = new HashMap<>(); in createConfig() local
143 trustRootCertList.put("trustRoot.cert1.com", in createConfig()
145 trustRootCertList.put("trustRoot.cert2.com", in createConfig()
147 config.setTrustRootCertList(trustRootCertList); in createConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java78 Map<String, byte[]> trustRootCertList = new HashMap<>(); in createFullPasspointConfiguration() local
79 trustRootCertList.put("server1.trust.root.com", certFingerprint); in createFullPasspointConfiguration()
80 config.setTrustRootCertList(trustRootCertList); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java111 Map<String, byte[]> trustRootCertList = new HashMap<>(); in createFullPasspointConfiguration() local
112 trustRootCertList.put("server1.trust.root.com", certFingerprint); in createFullPasspointConfiguration()
113 config.setTrustRootCertList(trustRootCertList); in createFullPasspointConfiguration()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java100 Map<String, byte[]> trustRootCertList = new HashMap<>(); in generateConfigurationFromPPSMOTree() local
101 trustRootCertList.put("server1.trust.root.com", certFingerprint); in generateConfigurationFromPPSMOTree()
102 config.setTrustRootCertList(trustRootCertList); in generateConfigurationFromPPSMOTree()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java184 public void setTrustRootCertList(Map<String, byte[]> trustRootCertList) { in setTrustRootCertList() argument
185 mTrustRootCertList = trustRootCertList; in setTrustRootCertList()