Home
last modified time | relevance | path

Searched refs:digestAlgorithm (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/security/net/config/
DPin.java23 public final String digestAlgorithm; field in Pin
28 public Pin(String digestAlgorithm, byte[] digest) { in Pin() argument
29 this.digestAlgorithm = digestAlgorithm; in Pin()
31 mHashCode = Arrays.hashCode(digest) ^ digestAlgorithm.hashCode(); in Pin()
73 if (!digestAlgorithm.equals(other.digestAlgorithm)) { in equals()
DXmlConfigSource.java106 String digestAlgorithm = parser.getAttributeValue(null, "digest"); in parsePin() local
107 if (!Pin.isSupportedDigestAlgorithm(digestAlgorithm)) { in parsePin()
109 + digestAlgorithm); in parsePin()
121 int expectedLength = Pin.getDigestLength(digestAlgorithm); in parsePin()
124 + " does not match expected length for " + digestAlgorithm + " of " in parsePin()
130 return new Pin(digestAlgorithm, decodedDigest); in parsePin()
DPinSet.java42 algorithms.add(pin.digestAlgorithm); in getPinAlgorithms()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java349 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local
350 byte[] previousSignerDigest = contentDigests.put(digestAlgorithm, contentDigest); in verifySigner()
354 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifySigner()
425 for (int digestAlgorithm : expectedDigests.keySet()) { in verifyIntegrity()
426 digestAlgorithms[digestAlgorithmCount] = digestAlgorithm; in verifyIntegrity()
439 int digestAlgorithm = digestAlgorithms[i]; in verifyIntegrity() local
440 byte[] expectedDigest = expectedDigests.get(digestAlgorithm); in verifyIntegrity()
444 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifyIntegrity()
474 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigests() local
475 int digestOutputSizeBytes = getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigests()
[all …]