| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | IvParameterSpec(byte[]
the buffer with the IV. The contents of the
buffer are copied to protect against subsequent modification. iv)Creates an IvParameterSpec object using the bytes in |
| public | IvParameterSpec(byte[]
the buffer with the IV. The first iv, int len
bytes of the buffer beginning at offset inclusive
are copied to protect against subsequent modification.the offset in offset, int iv where the IV
starts.the number of IV bytes. len)Creates an IvParameterSpec object using the first |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: the initialization vector (IV). Returns a new array each time this method is called.Returns the initialization vector (IV). |
| iv | back to summary |
|---|---|
| private final byte[] iv | |
| IvParameterSpec | back to summary |
|---|---|
| public IvParameterSpec(byte[] iv) Creates an IvParameterSpec object using the bytes in
| |
| IvParameterSpec | back to summary |
|---|---|
| public IvParameterSpec(byte[] iv, int offset, int len) Creates an IvParameterSpec object using the first The bytes that constitute the IV are those between
| |
| getIV | back to summary |
|---|---|
| public byte[] getIV() Returns the initialization vector (IV).
| |