Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

cryptix.jce.test
Class TestCipherStream  view TestCipherStream download TestCipherStream.java

java.lang.Object
  extended bycryptix.jce.test.Test
      extended bycryptix.jce.test.TestCipherStream

final class TestCipherStream
extends Test

This is a testclass for CipherInput- and CipherOutputStream. We use DES/ECB/NoPadding


Field Summary
private  java.lang.String algo
           
private  javax.crypto.Cipher c
           
private  javax.crypto.Cipher d
           
private  int KEY_SIZE
           
private static java.lang.String name
           
private  java.lang.String s
           
 
Fields inherited from class cryptix.jce.test.Test
 
Constructor Summary
protected TestCipherStream()
           
protected TestCipherStream(java.lang.String algo, int KEY_SIZE)
           
 
Method Summary
protected  void doIt()
           
private  void init()
           
private  boolean test1(javax.crypto.Cipher c, javax.crypto.Cipher d, java.lang.String s)
           
private  boolean test2(javax.crypto.Cipher c, javax.crypto.Cipher d, java.lang.String s)
           
private  boolean test3(javax.crypto.Cipher c, javax.crypto.Cipher d, java.lang.String s)
           
 
Methods inherited from class cryptix.jce.test.Test
beginTest, main, passIf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private static final java.lang.String name
See Also:
Constant Field Values

c

private javax.crypto.Cipher c

d

private javax.crypto.Cipher d

s

private final java.lang.String s
See Also:
Constant Field Values

algo

private java.lang.String algo

KEY_SIZE

private int KEY_SIZE
Constructor Detail

TestCipherStream

protected TestCipherStream(java.lang.String algo,
                           int KEY_SIZE)

TestCipherStream

protected TestCipherStream()
Method Detail

doIt

protected void doIt()
             throws java.lang.Exception
Specified by:
doIt in class Test

init

private void init()
           throws java.lang.Exception

test1

private boolean test1(javax.crypto.Cipher c,
                      javax.crypto.Cipher d,
                      java.lang.String s)
               throws java.lang.Exception

test2

private boolean test2(javax.crypto.Cipher c,
                      javax.crypto.Cipher d,
                      java.lang.String s)
               throws java.lang.Exception

test3

private boolean test3(javax.crypto.Cipher c,
                      javax.crypto.Cipher d,
                      java.lang.String s)
               throws java.lang.Exception