Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/security/net/config/
DPin.java25 public final String digestAlgorithm; field in Pin
30 public Pin(String digestAlgorithm, byte[] digest) { in Pin() argument
31 this.digestAlgorithm = digestAlgorithm; in Pin()
33 mHashCode = Arrays.hashCode(digest) ^ digestAlgorithm.hashCode(); in Pin()
75 if (!digestAlgorithm.equals(other.digestAlgorithm)) { in equals()
DXmlConfigSource.java96 String digestAlgorithm = parser.getAttributeValue(null, "digest"); in parsePin() local
97 if (!Pin.isSupportedDigestAlgorithm(digestAlgorithm)) { in parsePin()
99 + digestAlgorithm); in parsePin()
111 int expectedLength = Pin.getDigestLength(digestAlgorithm); in parsePin()
114 + " does not match expected length for " + digestAlgorithm + " of " in parsePin()
120 return new Pin(digestAlgorithm, decodedDigest); in parsePin()
DPinSet.java42 algorithms.add(pin.digestAlgorithm); in getPinAlgorithms()
/frameworks/base/core/java/android/util/apk/
DApkSigningBlockUtils.java162 for (int digestAlgorithm : expectedDigests.keySet()) { in verifyIntegrityFor1MbChunkBasedAlgorithm()
163 digestAlgorithms[digestAlgorithmCount] = digestAlgorithm; in verifyIntegrityFor1MbChunkBasedAlgorithm()
174 int digestAlgorithm = digestAlgorithms[i]; in verifyIntegrityFor1MbChunkBasedAlgorithm() local
175 byte[] expectedDigest = expectedDigests.get(digestAlgorithm); in verifyIntegrityFor1MbChunkBasedAlgorithm()
179 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifyIntegrityFor1MbChunkBasedAlgorithm()
244 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local
245 int digestOutputSizeBytes = getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigestsPer1MbChunk()
292 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local
295 getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigestsPer1MbChunk()
317 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local
[all …]
DApkSignatureSchemeV2Verifier.java317 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local
318 byte[] previousSignerDigest = contentDigests.put(digestAlgorithm, contentDigest); in verifySigner()
322 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifySigner()
DApkSignatureSchemeV3Verifier.java331 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local
332 byte[] previousSignerDigest = contentDigests.put(digestAlgorithm, contentDigest); in verifySigner()
336 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifySigner()
DSourceStampVerifier.java384 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(sigAlgorithm); in getApkContentDigestsFromSignatureBlock() local
385 apkContentDigests.put(digestAlgorithm, contentDigest); in getApkContentDigestsFromSignatureBlock()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt51922 Landroid/security/net/config/Pin;->digestAlgorithm:Ljava/lang/String;