Home
last modified time | relevance | path

Searched refs:pinSet (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java58 PinSet pinSet = config.getPins(); in testEmptyConfigFile() local
59 assertTrue(pinSet.pins.isEmpty()); in testEmptyConfigFile()
78 PinSet pinSet = config.getPins(); in testEmptyAnchors() local
79 assertTrue(pinSet.pins.isEmpty()); in testEmptyAnchors()
97 PinSet pinSet = config.getPins(); in testBasicDomainConfig() local
98 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig()
104 pinSet = config.getPins(); in testBasicDomainConfig()
105 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig()
130 PinSet pinSet = config.getPins(); in testBasicPinning() local
131 assertFalse(pinSet.pins.isEmpty()); in testBasicPinning()
[all …]
/frameworks/base/core/java/android/security/net/config/
DNetworkSecurityTrustManager.java119 PinSet pinSet = mNetworkSecurityConfig.getPins(); in checkPins() local
120 if (pinSet.pins.isEmpty() in checkPins()
121 || System.currentTimeMillis() > pinSet.expirationTime in checkPins()
125 Set<String> pinAlgorithms = pinSet.getPinAlgorithms(); in checkPins()
141 if (pinSet.pins.contains(new Pin(algorithm, md.digest(encodedSPKI)))) { in checkPins()
DNetworkSecurityConfig.java235 public Builder setPinSet(PinSet pinSet) {
236 mPinSet = pinSet;
319 PinSet pinSet = getEffectivePinSet();
321 return new NetworkSecurityConfig(cleartextPermitted, hstsEnforced, pinSet, entryRefs);