org.bouncycastle.crypto.test

Class PaddingTest

Implemented Interfaces:
Test

public class PaddingTest
extends java.lang.Object
implements Test

General Padding tests.

Constructor Summary

PaddingTest()

Method Summary

String
getName()
static void
main(String[] args)
TestResult
perform()
TestResult
testPadding(BlockCipherPadding padding, SecureRandom rand, byte[] ffVector, byte[] ZeroVector)

Constructor Details

PaddingTest

public PaddingTest()

Method Details

getName

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


main

public static void main(String[] args)


perform

public TestResult perform()
Specified by:
perform in interface Test


testPadding

public TestResult testPadding(BlockCipherPadding padding,
                              SecureRandom rand,
                              byte[] ffVector,
                              byte[] ZeroVector)