org.bouncycastle.jce.provider.test

Class BaseBlockCipherTest

Implemented Interfaces:
Test
Known Direct Subclasses:
AESTest, CamelliaTest, NoekeonTest, SEEDTest

public abstract class BaseBlockCipherTest
extends SimpleTest

Method Summary

String
getName()
protected void
oidTest(String[] oids, String[] names, int groupSize)
protected void
wrapOidTest(String[] oids, String name)
protected void
wrapTest(int id, String wrappingAlgorithm, byte[] kek, byte[] in, byte[] out)

Methods inherited from class org.bouncycastle.util.test.SimpleTest

areEqual, fail, fail, fail, getName, perform, performTest, runTest, runTest

Method Details

getName

public String getName()
Specified by:
getName in interface Test
Overrides:
getName in interface SimpleTest

oidTest

protected void oidTest(String[] oids,
                       String[] names,
                       int groupSize)
            throws Exception

wrapOidTest

protected void wrapOidTest(String[] oids,
                           String name)
            throws Exception

wrapTest

protected void wrapTest(int id,
                        String wrappingAlgorithm,
                        byte[] kek,
                        byte[] in,
                        byte[] out)
            throws Exception