com.ibm.crypto.provider
Class RC2Parameters
java.lang.Object
|
+--java.security.AlgorithmParametersSpi
|
+--com.ibm.crypto.provider.RC2Parameters
- public final class RC2Parameters
- extends AlgorithmParametersSpi
This class implements the parameters used with the RC2 algorithm
in various mode (CBC, ECB, OFB, CFB, PCBC). Parameters are defined in the standards (RFC 2268)
as follows:
RC2-CBCParameter ::= CHOICE {
iv IV,
params SEQUENCE {
version RC2Version,
iv IV
}
}
RC2 is a 64-bit block cipher with a variable-length key.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RC2Parameters
public RC2Parameters()
engineInit
protected void engineInit(AlgorithmParameterSpec paramSpec)
throws InvalidParameterSpecException
- Overrides:
- engineInit in class AlgorithmParametersSpi
engineInit
protected void engineInit(byte[] encoded)
throws IOException
- Overrides:
- engineInit in class AlgorithmParametersSpi
engineInit
protected void engineInit(byte[] encoded,
String decodingMethod)
throws IOException
- Overrides:
- engineInit in class AlgorithmParametersSpi
engineGetParameterSpec
protected AlgorithmParameterSpec engineGetParameterSpec(Class paramSpec)
throws InvalidParameterSpecException
- Overrides:
- engineGetParameterSpec in class AlgorithmParametersSpi
engineGetEncoded
protected byte[] engineGetEncoded()
throws IOException
- Overrides:
- engineGetEncoded in class AlgorithmParametersSpi
engineGetEncoded
protected byte[] engineGetEncoded(String encodingMethod)
throws IOException
- Overrides:
- engineGetEncoded in class AlgorithmParametersSpi
engineToString
protected String engineToString()
- Overrides:
- engineToString in class AlgorithmParametersSpi