Bouncy Castle Cryptography Library 1.65

org.bouncycastle.jce.provider.test
Class GOST3412Test

java.lang.Object
  |
  +--org.bouncycastle.util.test.SimpleTest
        |
        +--org.bouncycastle.jce.provider.test.GOST3412Test
All Implemented Interfaces:
Test

public class GOST3412Test
extends SimpleTest

basic test class for the GOST28147 cipher


Constructor Summary
GOST3412Test()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void performTest()
           
 void testCFB(byte[] keyBytes, byte[] iv, byte[] input, byte[] output)
           
 void testECB(byte[] keyBytes, byte[] input, byte[] output)
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GOST3412Test

public GOST3412Test()
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class SimpleTest

testECB

public void testECB(byte[] keyBytes,
                    byte[] input,
                    byte[] output)
             throws java.lang.Exception

testCFB

public void testCFB(byte[] keyBytes,
                    byte[] iv,
                    byte[] input,
                    byte[] output)
             throws java.lang.Exception

performTest

public void performTest()
                 throws java.lang.Exception
Overrides:
performTest in class SimpleTest

main

public static void main(java.lang.String[] args)

Bouncy Castle Cryptography Library 1.65