Search in sources :

Example 26 with MyMessageDigest1

use of org.apache.harmony.security.tests.support.MyMessageDigest1 in project robovm by robovm.

the class MessageDigest1Test method test_reset.

/**
     * java.security.MessageDigest#reset()
     */
public void test_reset() {
    MyMessageDigest1 md = new MyMessageDigest1("ABC");
    md.reset();
    assertTrue(md.runEngineReset);
}
Also used : MyMessageDigest1(org.apache.harmony.security.tests.support.MyMessageDigest1)

Aggregations

MyMessageDigest1 (org.apache.harmony.security.tests.support.MyMessageDigest1)26 MessageDigest (java.security.MessageDigest)6 ByteArrayOutputStream (java.io.ByteArrayOutputStream)3 DigestOutputStream (java.security.DigestOutputStream)3 OutputStream (java.io.OutputStream)2 ByteBuffer (java.nio.ByteBuffer)2 DigestException (java.security.DigestException)2 Support_OutputStream (tests.support.Support_OutputStream)2