de.flexiprovider.common.mode
Class CFBParameterSpec

java.lang.Object
  |
  +--javax.crypto.spec.IvParameterSpec
        |
        +--de.flexiprovider.common.mode.ModeParameterSpec
              |
              +--de.flexiprovider.common.mode.CFBParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec, java.security.spec.AlgorithmParameterSpec

public class CFBParameterSpec
extends ModeParameterSpec

This class is the parameter specification of the Cipher Feedback Mode

Author:
Johannes Müller

Constructor Summary
CFBParameterSpec(byte[] iv, int blockSize)
          Constructor.
 
Method Summary
 int getBlockSize()
           
 
Methods inherited from class javax.crypto.spec.IvParameterSpec
getIV
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CFBParameterSpec

public CFBParameterSpec(byte[] iv,
                        int blockSize)
Constructor. Set the passed initialization vector and block size.
Parameters:
iv - the initialization vector
blockSize - the block size
Method Detail

getBlockSize

public final int getBlockSize()
Returns:
the block size