Searched refs:pinSet (Results 1 – 3 of 3) sorted by relevance
56 PinSet pinSet = config.getPins(); in testEmptyConfigFile() local57 assertTrue(pinSet.pins.isEmpty()); in testEmptyConfigFile()75 PinSet pinSet = config.getPins(); in testEmptyAnchors() local76 assertTrue(pinSet.pins.isEmpty()); in testEmptyAnchors()93 PinSet pinSet = config.getPins(); in testBasicDomainConfig() local94 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig()100 pinSet = config.getPins(); in testBasicDomainConfig()101 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig()125 PinSet pinSet = config.getPins(); in testBasicPinning() local126 assertFalse(pinSet.pins.isEmpty()); in testBasicPinning()[all …]
119 PinSet pinSet = mNetworkSecurityConfig.getPins(); in checkPins() local120 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()
231 public Builder setPinSet(PinSet pinSet) {232 mPinSet = pinSet;315 PinSet pinSet = getEffectivePinSet();317 return new NetworkSecurityConfig(cleartextPermitted, hstsEnforced, pinSet, entryRefs);