|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.crypto.spec.IvParameterSpec
public class IvParameterSpec
A wrapper for an initialization vector. An initialization vector is necessary for any cipher in any feedback mode, e.g. CBC.
Constructor Summary | |
---|---|
IvParameterSpec(byte[] iv)
Create a new initialization vector spec from an entire byte array. |
|
IvParameterSpec(byte[] iv,
int off,
int len)
Create a new initialization vector spec from part of a byte array. |
Method Summary | |
---|---|
byte[] |
getIV()
Returns the IV. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IvParameterSpec(byte[] iv)
iv
- The IV bytes.public IvParameterSpec(byte[] iv, int off, int len)
iv
- The IV bytes.off
- The offset into the IV bytes.len
- The number of IV bytes.Method Detail |
---|
public byte[] getIV()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |