Home
last modified time | relevance | path

Searched refs:Pin (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/security/net/config/
DPin.java22 public final class Pin { class
28 public Pin(String digestAlgorithm, byte[] digest) { in Pin() method in Pin
63 if (!(obj instanceof Pin)) { in equals()
66 Pin other = (Pin) obj; in equals()
DPinSet.java26 new PinSet(Collections.<Pin>emptySet(), Long.MAX_VALUE);
28 public final Set<Pin> pins;
30 public PinSet(Set<Pin> pins, long expirationTime) { in PinSet()
41 for (Pin pin : pins) { in getPinAlgorithms()
DXmlConfigSource.java94 private Pin parsePin(XmlResourceParser parser) in parsePin()
97 if (!Pin.isSupportedDigestAlgorithm(digestAlgorithm)) { in parsePin()
111 int expectedLength = Pin.getDigestLength(digestAlgorithm); in parsePin()
120 return new Pin(digestAlgorithm, decodedDigest); in parsePin()
142 Set<Pin> pins = new ArraySet<>(); in parsePinSet()
DNetworkSecurityTrustManager.java141 if (pinSet.pins.contains(new Pin(algorithm, md.digest(encodedSPKI)))) { in checkPins()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java145 ArraySet<Pin> pins = new ArraySet<Pin>(); in testBadPin()
146 pins.add(new Pin("SHA-256", new byte[0])); in testBadPin()
163 ArraySet<Pin> pins = new ArraySet<Pin>(); in testGoodPin()
164 pins.add(new Pin("SHA-256", G2_SPKI_SHA256)); in testGoodPin()
182 ArraySet<Pin> pins = new ArraySet<Pin>(); in testOverridePins()
183 pins.add(new Pin("SHA-256", new byte[0])); in testOverridePins()
249 ArraySet<Pin> pins = new ArraySet<Pin>(); in testWithUrlConnection()
250 pins.add(new Pin("SHA-256", G2_SPKI_SHA256)); in testWithUrlConnection()
/frameworks/base/proto/
DAndroid.bp10 // Pin java_version until jarjar is certified to support later versions. http://b/72703434
/frameworks/opt/telephony/proto/
DAndroid.bp27 // Pin java_version until jarjar is certified to support later versions. http://b/72703434
/frameworks/base/test-runner/
DAndroid.bp85 // Pin java_version until jarjar is certified to support later versions. http://b/72703434
/frameworks/base/test-base/
DAndroid.bp75 // Pin java_version until jarjar is certified to support later versions. http://b/72703434
/frameworks/base/config/
Dpreloaded-classes3145 android.security.net.config.Pin
Dhiddenapi-greylist-max-o.txt66904 Landroid/security/net/config/Pin;
66905 Landroid/security/net/config/Pin;-><init>(Ljava/lang/String;[B)V
66906 Landroid/security/net/config/Pin;->digest:[B
66907 Landroid/security/net/config/Pin;->digestAlgorithm:Ljava/lang/String;
66908 Landroid/security/net/config/Pin;->getDigestLength(Ljava/lang/String;)I
66909 Landroid/security/net/config/Pin;->isSupportedDigestAlgorithm(Ljava/lang/String;)Z
66910 Landroid/security/net/config/Pin;->mHashCode:I
67003 …mlConfigSource;->parsePin(Landroid/content/res/XmlResourceParser;)Landroid/security/net/config/Pin;
Dboot-image-profile.txt35684 Landroid/security/net/config/Pin;