| java.lang.Object javax.crypto.spec.IvParameterSpec
IvParameterSpec | public class IvParameterSpec implements AlgorithmParameterSpec(Code) | | This class specifies an initialization vector (IV).
Examples which use IVs are ciphers in feedback mode, e.g., DES in
CBC mode and RSA ciphers with OAEP encoding operation.
version: 1.14, 09/13/01 since: 1.4 |
Constructor Summary | |
public | IvParameterSpec(byte[] iv, int offset, int len) Uses the first len bytes in iv ,
beginning at offset inclusive, as the IV. |
Method Summary | |
public byte[] | getIV() Returns the initialization vector (IV). |
IvParameterSpec | public IvParameterSpec(byte[] iv, int offset, int len)(Code) | | Uses the first len bytes in iv ,
beginning at offset inclusive, as the IV.
The bytes that constitute the IV are those between
iv[offset] and iv[offset+len-1] inclusive.
Parameters: iv - the buffer with the IV Parameters: offset - the offset in iv where the IVstarts Parameters: len - the number of IV bytes |
getIV | public byte[] getIV()(Code) | | Returns the initialization vector (IV).
the initialization vector (IV) |
|
|