javax.crypto.spec
public class RC2ParameterSpec extends Object implements AlgorithmParameterSpec
Since: 1.4
Constructor Summary | |
---|---|
RC2ParameterSpec(int effectiveKeyBits)
Create RC2 parameters without an IV.
| |
RC2ParameterSpec(int effectiveKeyBits, byte[] iv)
Create RC2 parameters with an IV.
| |
RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset)
Create RC2 parameters with an IV.
|
Method Summary | |
---|---|
boolean | equals(Object o) |
int | getEffectiveKeyBits()
Get the number of effective key bits.
|
byte[] | getIV()
Return the initialization vector, or null if none was
specified.
|
int | hashCode() |
Parameters: effectiveKeyBits The number of effective key bits.
Parameters: effectiveKeyBits The number of effective key bits. iv The IV; the first eight bytes of this array are used.
Parameters: effectiveKeyBits The number of effective key bits. iv The IV; the first eight bytes of this array
after offset
are used. offset From whence to start in the array.
Returns: The numer of effective key bits.
null
if none was
specified.
Returns: The IV, or null.