Home
last modified time | relevance | path

Searched refs:digestAlgorithm (Results 1 – 7 of 7) 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.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.java158 for (int digestAlgorithm : expectedDigests.keySet()) { in verifyIntegrityFor1MbChunkBasedAlgorithm()
159 digestAlgorithms[digestAlgorithmCount] = digestAlgorithm; in verifyIntegrityFor1MbChunkBasedAlgorithm()
172 int digestAlgorithm = digestAlgorithms[i]; in verifyIntegrityFor1MbChunkBasedAlgorithm() local
173 byte[] expectedDigest = expectedDigests.get(digestAlgorithm); in verifyIntegrityFor1MbChunkBasedAlgorithm()
177 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifyIntegrityFor1MbChunkBasedAlgorithm()
207 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local
208 int digestOutputSizeBytes = getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigestsPer1MbChunk()
255 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local
258 getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigestsPer1MbChunk()
280 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local
[all …]
DApkSignatureSchemeV2Verifier.java323 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local
324 byte[] previousSignerDigest = contentDigests.put(digestAlgorithm, contentDigest); in verifySigner()
328 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifySigner()
DApkSignatureSchemeV3Verifier.java336 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local
337 byte[] previousSignerDigest = contentDigests.put(digestAlgorithm, contentDigest); in verifySigner()
341 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifySigner()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt62511 Landroid/security/net/config/Pin;->digestAlgorithm:Ljava/lang/String;