T - the parameter type for the un-wrapper.public interface KeyUnwrapper<T extends Parameters>
| Modifier and Type | Method and Description |
|---|---|
T |
getParameters()
Return the parameters for this un-wrapper.
|
byte[] |
unwrap(byte[] in,
int inOff,
int inLen)
Return the unwrapped byte encoding of a key.
|
T getParameters()
byte[] unwrap(byte[] in,
int inOff,
int inLen)
throws InvalidWrappingException
in - input data array.inOff - offset into data array wrapped key starts at.inLen - length of wrapped key data.InvalidWrappingException - if the wrapping cannot be processed.