Package org.bouncycastle.tls.crypto
Interface TlsEncryptor
public interface TlsEncryptor
Base interface for an encryptor.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
encrypt
(byte[] input, int inOff, int length) Encrypt data from the passed in input array.
-
Method Details
-
encrypt
Encrypt 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:
IOException
- in case of a processing error.
-