Searched refs:getDigestIfPresent (Results 1 – 4 of 4) sorted by relevance
85 assertThat(IntegrityTransform.getDigestIfPresent(uriWithHash)).isEqualTo(ORIGTEXT_SHA256_B64); in write_shouldComputeChecksum()101 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture.get())) in consumeStream_shouldComputeChecksum()118 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture.get())) in consumeStream_shouldBothVerifyAndComputeChecksum()131 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture2.get())) in consumeStream_shouldBothVerifyAndComputeChecksum()152 assertThat(IntegrityTransform.getDigestIfPresent(result.get())).isEqualTo(ORIGTEXT_SHA256_B64); in readFully_shouldComputeChecksum()172 assertThat(IntegrityTransform.getDigestIfPresent(result.get())) in readWithWithPrematureClose_shouldComputeDifferentChecksum()190 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture.get())) in read_shouldValidateChecksum()239 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture.get())) in partialReadAndClose_shouldFailValidation()
58 String digest = IntegrityTransform.getDigestIfPresent(uriWithChecksum); in integrityUriComputingOpener_shouldProduceCorrectChecksum()73 String digest = IntegrityTransform.getDigestIfPresent(uriWithChecksum); in integrityUriComputingOpener_shouldIgnoreIncorrectInitialSpec()88 String digest = IntegrityTransform.getDigestIfPresent(uriWithChecksum); in integrityUriComputingOpener_shouldIgnoreIntegrityParamWithNoSubparam()
65 String base64Digest = IntegrityTransform.getDigestIfPresent(uriWithDigest); in open()
74 public static String getDigestIfPresent(Uri uri) { in getDigestIfPresent() method in IntegrityTransform