Searched refs:digestAlgorithm (Results 1 – 8 of 8) sorted by relevance
25 public final String digestAlgorithm; field in Pin30 public Pin(String digestAlgorithm, byte[] digest) { in Pin() argument31 this.digestAlgorithm = digestAlgorithm; in Pin()33 mHashCode = Arrays.hashCode(digest) ^ digestAlgorithm.hashCode(); in Pin()75 if (!digestAlgorithm.equals(other.digestAlgorithm)) { in equals()
96 String digestAlgorithm = parser.getAttributeValue(null, "digest"); in parsePin() local97 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()
42 algorithms.add(pin.digestAlgorithm); in getPinAlgorithms()
162 for (int digestAlgorithm : expectedDigests.keySet()) { in verifyIntegrityFor1MbChunkBasedAlgorithm()163 digestAlgorithms[digestAlgorithmCount] = digestAlgorithm; in verifyIntegrityFor1MbChunkBasedAlgorithm()174 int digestAlgorithm = digestAlgorithms[i]; in verifyIntegrityFor1MbChunkBasedAlgorithm() local175 byte[] expectedDigest = expectedDigests.get(digestAlgorithm); in verifyIntegrityFor1MbChunkBasedAlgorithm()179 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifyIntegrityFor1MbChunkBasedAlgorithm()244 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local245 int digestOutputSizeBytes = getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigestsPer1MbChunk()292 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local295 getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigestsPer1MbChunk()317 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local[all …]
317 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local318 byte[] previousSignerDigest = contentDigests.put(digestAlgorithm, contentDigest); in verifySigner()322 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifySigner()
331 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local332 byte[] previousSignerDigest = contentDigests.put(digestAlgorithm, contentDigest); in verifySigner()336 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifySigner()
384 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(sigAlgorithm); in getApkContentDigestsFromSignatureBlock() local385 apkContentDigests.put(digestAlgorithm, contentDigest); in getApkContentDigestsFromSignatureBlock()
51922 Landroid/security/net/config/Pin;->digestAlgorithm:Ljava/lang/String;