| java.lang.Object | |
| ↳ | javax.crypto.spec.RC2ParameterSpec |
The algorithm parameter specification for the RC2 algorithm.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
RC2ParameterSpec instance with the specified
effective key length (in bits), | |||||||||||
Creates a new
RC2ParameterSpec instance with the specified
effective key length (in bits) and initialization vector. | |||||||||||
Creates a new
RC2ParameterSpec instance with the specified
effective key length (in bits) and initialization vector. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Compares the specified object to this
RC2ParameterSpec
instance. | |||||||||||
Returns the effective key length (in bits).
| |||||||||||
Returns a copy of the initialization vector.
| |||||||||||
Returns the hash code of this
RC2ParameterSpec instance. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new RC2ParameterSpec instance with the specified
effective key length (in bits),
| effectiveKeyBits | the effective key length (in bits). |
|---|
Creates a new RC2ParameterSpec instance with the specified
effective key length (in bits) and initialization vector.
The size of the initialization vector must be at least 8 bytes which are copied to protect them against modification.
| effectiveKeyBits | the effective key length (in bits). |
|---|---|
| iv | the initialization vector. |
| IllegalArgumentException | if the initialization vector is null or shorter than 8 bytes. |
|---|
Creates a new RC2ParameterSpec instance with the specified
effective key length (in bits) and initialization vector.
The size of the initialization vector starting at
offset must be at least 8 bytes which are copied to protect
them against modification.
| effectiveKeyBits | the effective key length (in bits). |
|---|---|
| iv | the initialization vector. |
| offset | the offset in the initialization vector to start at. |
| IllegalArgumentException | if the initialization vector is null or starting at
offset is shorter than 8 bytes.
|
|---|
Compares the specified object to this RC2ParameterSpec
instance.
| obj | the object to compare. |
|---|
Returns the effective key length (in bits).
Returns a copy of the initialization vector.
Returns the hash code of this RC2ParameterSpec instance.