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
|
|
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 |
ident
public static final java.lang.String ident
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.
isEncryptedIv
public boolean isEncryptedIv()
- Returns whether we can expect an encrypted IV.
- Returns:
- true if the IV is encrypted, false otherwise.