Package org.bouncycastle.crypto.test
Class DigestTest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- org.bouncycastle.crypto.test.DigestTest
-
- All Implemented Interfaces:
Test
- Direct Known Subclasses:
DSTU7564Test
,GOST3411_2012_256DigestTest
,GOST3411_2012_512DigestTest
,GOST3411DigestTest
,MD2DigestTest
,MD4DigestTest
,MD5DigestTest
,RIPEMD128DigestTest
,RIPEMD160DigestTest
,RIPEMD256DigestTest
,RIPEMD320DigestTest
,SHA1DigestTest
,SHA224DigestTest
,SHA256DigestTest
,SHA384DigestTest
,SHA512DigestTest
,SHA512t224DigestTest
,SHA512t256DigestTest
,SM3DigestTest
,TigerDigestTest
,WhirlpoolDigestTest
public abstract class DigestTest extends SimpleTest
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Digest
cloneDigest(byte[] encodedState)
protected abstract Digest
cloneDigest(Digest digest)
java.lang.String
getName()
protected void
millionATest(java.lang.String expected)
void
performTest()
protected void
sixtyFourKTest(java.lang.String expected)
protected byte[]
toByteArray(java.lang.String input)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTest
- Specified by:
getName
in classSimpleTest
-
performTest
public void performTest()
- Specified by:
performTest
in classSimpleTest
-
toByteArray
protected byte[] toByteArray(java.lang.String input)
-
cloneDigest
protected Digest cloneDigest(byte[] encodedState)
-
millionATest
protected void millionATest(java.lang.String expected)
-
sixtyFourKTest
protected void sixtyFourKTest(java.lang.String expected)
-
-