Searched refs:digestAlgorithm (Results 1 – 4 of 4) 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()
106 String digestAlgorithm = parser.getAttributeValue(null, "digest"); in parsePin() local107 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()
42 algorithms.add(pin.digestAlgorithm); in getPinAlgorithms()
349 int digestAlgorithm = getSignatureAlgorithmContentDigestAlgorithm(bestSigAlgorithm); in verifySigner() local350 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() local440 byte[] expectedDigest = expectedDigests.get(digestAlgorithm); in verifyIntegrity()444 getContentDigestAlgorithmJcaDigestAlgorithm(digestAlgorithm) in verifyIntegrity()474 int digestAlgorithm = digestAlgorithms[i]; in computeContentDigests() local475 int digestOutputSizeBytes = getContentDigestAlgorithmOutputSizeBytes(digestAlgorithm); in computeContentDigests()[all …]