public class RC2ParameterSpecVersion
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
This class implements static methods used by the Toolkit, that are
not part of the standard API for RC2ParameterSpec.
RC2ParameterSpec,
AlgorithmParameterSpec,
RC2ParameterSpec| Constructor and Description |
|---|
RC2ParameterSpecVersion()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
keylengthToVersion(int keyLength)
Deprecated.
Returns the version (to go in the init vector parameters)
corresponding to the effective key length.
|
static int |
versionToKeyLength(int version)
Deprecated.
|
public static int keylengthToVersion(int keyLength)
For more details, see RFC2268.
public static int versionToKeyLength(int version)