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