Package org.bouncycastle.tls.crypto
Interface TlsEncryptor
-
public interface TlsEncryptorBase interface for an encryptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]encrypt(byte[] input, int inOff, int length)Encrypt data from the passed in input array.
-
-
-
Method Detail
-
encrypt
byte[] encrypt(byte[] input, int inOff, int length) throws java.io.IOExceptionEncrypt data from the passed in input array.- Parameters:
input- byte array containing the input data.inOff- offset into input where the data starts.length- the length of the data to encrypt.- Returns:
- the encrypted data.
- Throws:
java.io.IOException- in case of a processing error.
-
-