org.bouncycastle.jce.provider.test

Class PBETest

Implemented Interfaces:
org.bouncycastle.util.test.Test

public class PBETest
extends org.bouncycastle.util.test.SimpleTest

test out the various PBE modes, making sure the JCE implementations are compatible woth the light weight ones.

Method Summary

String
getName()
static void
main(String[] args)
void
performTest()
void
testPBEHMac(String hmacName, byte[] output)

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 org.bouncycastle.util.test.Test
Overrides:
getName in interface org.bouncycastle.util.test.SimpleTest

main

public static void main(String[] args)

performTest

public void performTest()
            throws Exception
Overrides:
performTest in interface org.bouncycastle.util.test.SimpleTest

testPBEHMac

public void testPBEHMac(String hmacName,
                        byte[] output)