public interface TlsEncryptor
Modifier and Type | Method and Description |
---|---|
byte[] |
encrypt(byte[] input,
int inOff,
int length)
Encrypt data from the passed in input array.
|
byte[] encrypt(byte[] input, int inOff, int length) throws java.io.IOException
input
- byte array containing the input data.inOff
- offset into input where the data starts.length
- the length of the data to encrypt.java.io.IOException
- in case of a processing error.