org.bouncycastle.crypto.engines
Class RC2WrapEngine
java.lang.Objectorg.bouncycastle.crypto.engines.RC2WrapEngine
- Wrapper
public class RC2WrapEngine
extends java.lang.Object
Wrap keys according to RFC 3217 - RC2 mechanism
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
|
getAlgorithmName
public String getAlgorithmName()
Method getAlgorithmName
- getAlgorithmName in interface Wrapper
- the algorithm name "RC2".
wrap
public byte[] wrap(byte[] in,
int inOff,
int inLen) Method wrap
- wrap in interface Wrapper