public interface Wrapper
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithmName()
Return the name of the algorithm the wrapper implements.
|
void |
init(boolean forWrapping,
CipherParameters param) |
byte[] |
unwrap(byte[] in,
int inOff,
int inLen) |
byte[] |
wrap(byte[] in,
int inOff,
int inLen) |
void init(boolean forWrapping, CipherParameters param)
String getAlgorithmName()
byte[] wrap(byte[] in, int inOff, int inLen)
byte[] unwrap(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
InvalidCipherTextException