Searched refs:digestAlgorithm (Results 1 – 7 of 7) sorted by relevance
23 public final String digestAlgorithm; field in Pin28 public Pin(String digestAlgorithm, byte[] digest) { in Pin() argument29 this.digestAlgorithm = digestAlgorithm; in Pin()31 mHashCode = Arrays.hashCode(digest) ^ digestAlgorithm.hashCode(); in Pin()73 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()
158 for (int digestAlgorithm : expectedDigests.keySet()) { in verifyIntegrityFor1MbChunkBasedAlgorithm()159 digestAlgorithms[digestAlgorithmCount] = digestAlgorithm; in verifyIntegrityFor1MbChunkBasedAlgorithm()172 int digestAlgorithm = digestAlgorithms[i]; in verifyIntegrityFor1MbChunkBasedAlgorithm() local173 byte[] expectedDigest = expectedDigests.get(digestAlgorithm); in verifyIntegrityFor1MbChunkBasedAlgorithm()177 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifyIntegrityFor1MbChunkBasedAlgorithm()207 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local208 int digestOutputSizeBytes = getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigestsPer1MbChunk()255 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local258 getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigestsPer1MbChunk()280 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigestsPer1MbChunk() local[all …]
323 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local324 byte[] previousSignerDigest = contentDigests.put(digestAlgorithm, contentDigest); in verifySigner()328 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifySigner()
336 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local337 byte[] previousSignerDigest = contentDigests.put(digestAlgorithm, contentDigest); in verifySigner()341 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifySigner()
62511 Landroid/security/net/config/Pin;->digestAlgorithm:Ljava/lang/String;