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.java50 PinSet pinSet = config.getPins(); in testEmptyConfigFile() local
51 assertTrue(pinSet.pins.isEmpty()); in testEmptyConfigFile()
70 PinSet pinSet = config.getPins(); in testEmptyAnchors() local
71 assertTrue(pinSet.pins.isEmpty()); in testEmptyAnchors()
89 PinSet pinSet = config.getPins(); in testBasicDomainConfig() local
90 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig()
96 pinSet = config.getPins(); in testBasicDomainConfig()
97 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig()
122 PinSet pinSet = config.getPins(); in testBasicPinning() local
123 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.java251 public Builder setPinSet(PinSet pinSet) {
252 mPinSet = pinSet;
353 PinSet pinSet = getEffectivePinSet();
359 pinSet,