Searched refs:pins (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/security/net/config/ |
D | PinSet.java | 28 public final Set<Pin> pins; field in PinSet 30 public PinSet(Set<Pin> pins, long expirationTime) { in PinSet() argument 31 if (pins == null) { in PinSet() 34 this.pins = pins; in PinSet() 41 for (Pin pin : pins) { in getPinAlgorithms()
|
D | NetworkSecurityTrustManager.java | 120 if (pinSet.pins.isEmpty() in checkPins() 141 if (pinSet.pins.contains(new Pin(algorithm, md.digest(encodedSPKI)))) { in checkPins()
|
D | NetworkSecurityConfig.java | 52 PinSet pins, List<CertificatesEntryRef> certificatesEntryRefs) { in NetworkSecurityConfig() argument 55 mPins = pins; in NetworkSecurityConfig()
|
D | XmlConfigSource.java | 142 Set<Pin> pins = new ArraySet<>(); in parsePinSet() local 146 pins.add(parsePin(parser)); in parsePinSet() 151 return new PinSet(pins, expirationTimestampMilis); in parsePinSet()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | NetworkSecurityConfigTests.java | 145 ArraySet<Pin> pins = new ArraySet<Pin>(); in testBadPin() local 146 pins.add(new Pin("SHA-256", new byte[0])); in testBadPin() 148 .setPinSet(new PinSet(pins, Long.MAX_VALUE)) in testBadPin() 163 ArraySet<Pin> pins = new ArraySet<Pin>(); in testGoodPin() local 164 pins.add(new Pin("SHA-256", G2_SPKI_SHA256)); in testGoodPin() 166 .setPinSet(new PinSet(pins, Long.MAX_VALUE)) in testGoodPin() 182 ArraySet<Pin> pins = new ArraySet<Pin>(); in testOverridePins() local 183 pins.add(new Pin("SHA-256", new byte[0])); in testOverridePins() 185 .setPinSet(new PinSet(pins, Long.MAX_VALUE)) in testOverridePins() 249 ArraySet<Pin> pins = new ArraySet<Pin>(); in testWithUrlConnection() local [all …]
|
D | XmlConfigTests.java | 59 assertTrue(pinSet.pins.isEmpty()); in testEmptyConfigFile() 79 assertTrue(pinSet.pins.isEmpty()); in testEmptyAnchors() 98 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig() 105 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig() 131 assertFalse(pinSet.pins.isEmpty()); in testBasicPinning() 147 assertFalse(pinSet.pins.isEmpty()); in testExpiredPin() 162 assertFalse(pinSet.pins.isEmpty()); in testOverridesPins() 177 assertFalse(pinSet.pins.isEmpty()); in testBadPin() 195 assertTrue(pinSet.pins.isEmpty()); in testMultipleDomains() 289 MoreAsserts.assertEmpty(parent.getPins().pins); in testNestedDomainConfigs() [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 62519 Landroid/security/net/config/PinSet;->pins:Ljava/util/Set;
|