org.bouncycastle.crypto.engines
public class RC2WrapEngine extends Object implements Wrapper
Method Summary | |
---|---|
String | getAlgorithmName()
Method getAlgorithmName
|
void | init(boolean forWrapping, CipherParameters param)
Method init
|
byte[] | unwrap(byte[] in, int inOff, int inLen)
Method unwrap
|
byte[] | wrap(byte[] in, int inOff, int inLen)
Method wrap
|
Returns: the algorithm name "RC2".
Parameters: forWrapping param
Parameters: in inOff inLen
Returns: the unwrapped bytes.
Throws: InvalidCipherTextException
Parameters: in inOff inLen
Returns: the wrapped bytes.