Searched refs:computeHashOfByteArray (Results 1 – 4 of 4) sorted by relevance
141 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_success()155 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_failure()182 when(mUtils.computeHashOfByteArray(any(byte[].class))).thenReturn(null); in testSignatureHash_digestFailure()
142 byte[] hash = mUtils.computeHashOfByteArray(signature.toByteArray()); in computeHashesOfAllSignatures()
334 assertTrue(Arrays.equals(sha256, mUtils.computeHashOfByteArray(bytes))); in testComputeHashOfByteArray()
701 public byte[] computeHashOfByteArray(byte[] bytes) { in computeHashOfByteArray() method in Utils