Home
last modified time | relevance | path

Searched refs:getMessageDigest (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DDigestOutputStreamTest.java110 assertSame(digest, dos.getMessageDigest()); in test_getMessageDigest()
114 assertNull("getMessageDigest should have returned null", dos.getMessageDigest()); in test_getMessageDigest()
129 assertSame(digest, dos.getMessageDigest()); in test_setMessageDigestLjava_security_MessageDigest()
133 assertNull("getMessageDigest should have returned null", dos.getMessageDigest()); in test_setMessageDigestLjava_security_MessageDigest()
156 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in testWriteint01()
193 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in testWriteint02()
296 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in test_write$BII_1()
330 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in test_write$BII_2()
371 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in test_write$BII_3()
412 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in test_write$BII_4()
[all …]
DDigestInputStreamTest.java126 dis.getMessageDigest().digest(), in testRead01()
161 Arrays.equals(dis.getMessageDigest().digest(), in testRead02()
196 assertTrue(Arrays.equals(dis.getMessageDigest().digest(), in testRead03()
306 assertTrue("update", Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint01()
345 assertTrue("update", Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint02()
395 assertTrue("update", Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint03()
428 Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint04()
467 assertTrue(Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint05()
488 assertTrue(dis.getMessageDigest() == md); in testGetMessageDigest()
510 assertTrue(dis.getMessageDigest() == md); in testSetMessageDigest()
[all …]
DDigestInputStream2Test.java54 .getMessageDigest()); in test_getMessageDigest()
214 dis.getMessageDigest()); in test_setMessageDigestLjava_security_MessageDigest()
217 .getMessageDigest()); in test_setMessageDigestLjava_security_MessageDigest()
/libcore/ojluni/src/main/java/java/security/
DDigestOutputStream.java83 public MessageDigest getMessageDigest() { in getMessageDigest() method in DigestOutputStream
DDigestInputStream.java95 public MessageDigest getMessageDigest() { in getMessageDigest() method in DigestInputStream
/libcore/ojluni/src/main/java/sun/security/ssl/
DJsseJce.java334 return getMessageDigest("MD5"); in getMD5()
338 return getMessageDigest("SHA"); in getSHA()
341 static MessageDigest getMessageDigest(String algorithm) { in getMessageDigest() method in JsseJce
DHandshakeHash.java360 digests[i] = JsseJce.getMessageDigest(algorithm); in CloneableDigest()
372 MessageDigest digest = JsseJce.getMessageDigest(algorithm); in getDigest()