1
package org.bouncycastle.crypto.test;
3
import org.bouncycastle.util.test.SimpleTestResult;
4
import org.bouncycastle.util.test.Test;
5
import org.bouncycastle.util.test.TestResult;
9
public abstract class CipherTest
20
public abstract String getName();
22
public TestResult perform()
24
for (int i = 0; i != tests.length; i++)
26
TestResult res = tests[i].perform();
28
if (!res.isSuccessful())
34
return new SimpleTestResult(true, getName() + ": Okay");