IvParameterSpec

public class IvParameterSpec extends Object
implements AlgorithmParameterSpec

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.

Public Constructor Summary

IvParameterSpec(byte[] iv)
Creates an IvParameterSpec object using the bytes in iv as the IV.
IvParameterSpec(byte[] iv, int offset, int len)
Creates an IvParameterSpec object using the first len bytes in iv, beginning at offset inclusive, as the IV.

Public Method Summary

byte[]
getIV()
Returns the initialization vector (IV).

Inherited Method Summary