| java.lang.Object com.sun.j2me.crypto.IvParameter
IvParameter | public class IvParameter implements CryptoParameter(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.
|
Constructor Summary | |
public | IvParameter(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). |
IvParameter | public IvParameter(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) |
|
|