Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java294 Map<String, byte[]> trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertUrl() local
296 trustRootCertList.put(new String(rawUrlBytes, StandardCharsets.UTF_8), in validateConfigWithInvalidTrustRootCertUrl()
298 config.setTrustRootCertList(trustRootCertList); in validateConfigWithInvalidTrustRootCertUrl()
302 trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertUrl()
303 trustRootCertList.put(null, new byte[CERTIFICATE_FINGERPRINT_BYTES]); in validateConfigWithInvalidTrustRootCertUrl()
304 config.setTrustRootCertList(trustRootCertList); in validateConfigWithInvalidTrustRootCertUrl()
318 Map<String, byte[]> trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertFingerprint() local
319 trustRootCertList.put("test.cert.com", new byte[CERTIFICATE_FINGERPRINT_BYTES + 1]); in validateConfigWithInvalidTrustRootCertFingerprint()
320 config.setTrustRootCertList(trustRootCertList); in validateConfigWithInvalidTrustRootCertFingerprint()
323 trustRootCertList = new HashMap<>(); in validateConfigWithInvalidTrustRootCertFingerprint()
[all …]
DPasspointTestUtils.java141 Map<String, byte[]> trustRootCertList = new HashMap<>(); in createConfig() local
142 trustRootCertList.put("trustRoot.cert1.com", in createConfig()
144 trustRootCertList.put("trustRoot.cert2.com", in createConfig()
146 config.setTrustRootCertList(trustRootCertList); in createConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java73 Map<String, byte[]> trustRootCertList = new HashMap<>(); in createFullPasspointConfiguration() local
74 trustRootCertList.put("server1.trust.root.com", certFingerprint); in createFullPasspointConfiguration()
75 config.setTrustRootCertList(trustRootCertList); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java109 Map<String, byte[]> trustRootCertList = new HashMap<>(); in createFullPasspointConfiguration() local
110 trustRootCertList.put("server1.trust.root.com", certFingerprint); in createFullPasspointConfiguration()
111 config.setTrustRootCertList(trustRootCertList); in createFullPasspointConfiguration()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java98 Map<String, byte[]> trustRootCertList = new HashMap<>(); in generateConfigurationFromPPSMOTree() local
99 trustRootCertList.put("server1.trust.root.com", certFingerprint); in generateConfigurationFromPPSMOTree()
100 config.setTrustRootCertList(trustRootCertList); in generateConfigurationFromPPSMOTree()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java176 public void setTrustRootCertList(Map<String, byte[]> trustRootCertList) { in setTrustRootCertList() argument
177 mTrustRootCertList = trustRootCertList; in setTrustRootCertList()