Constructor and Description |
---|
RC2WrapEngine() |
Modifier and Type | Method and Description |
---|---|
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
|
public void init(boolean forWrapping, CipherParameters param)
public String getAlgorithmName()
getAlgorithmName
in interface Wrapper
public byte[] wrap(byte[] in, int inOff, int inLen)
public byte[] unwrap(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
unwrap
in interface Wrapper
in
- inOff
- inLen
- InvalidCipherTextException
Copyright © 2015. All rights reserved.