au.net.aba.crypto.spec
Class InlineIvParameterSpec

java.lang.Object
  |
  +--au.net.aba.crypto.spec.InlineIvParameterSpec

public class InlineIvParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec

This class specifies that an initialisation vector (IV) is contained in the input stream/output stream produced by the cipher.

See Also:
IvParameterSpec, AlgorithmParameterSpec

Field Summary
static java.lang.String ident
           
 
Constructor Summary
InlineIvParameterSpec()
          Specify that the IV is not encrypted.
InlineIvParameterSpec(boolean encrypted)
          Specify whether or not the IV is encrypted.
 
Method Summary
 boolean isEncryptedIv()
          Returns whether we can expect an encrypted IV.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ident

public static final java.lang.String ident
Constructor Detail

InlineIvParameterSpec

public InlineIvParameterSpec()
Specify that the IV is not encrypted.

InlineIvParameterSpec

public InlineIvParameterSpec(boolean encrypted)
Specify whether or not the IV is encrypted.
Parameters:
encrypted - true if it is, false otherwise.
Method Detail

isEncryptedIv

public boolean isEncryptedIv()
Returns whether we can expect an encrypted IV.
Returns:
true if the IV is encrypted, false otherwise.