using System; using System.IO; namespace Org.BouncyCastle.Tls.Crypto { /// Base interface for an encryptor. public interface TlsEncryptor { /// Encrypt data from the passed in input array. /// byte array containing the input data. /// offset into input where the data starts. /// the length of the data to encrypt. /// the encrypted data. /// byte[] Encrypt(byte[] input, int inOff, int length); } }