Interface TlsEncryptor


public interface TlsEncryptor
Base interface for an encryptor.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    encrypt(byte[] input, int inOff, int length)
    Encrypt data from the passed in input array.
  • Method Details

    • encrypt

      byte[] encrypt(byte[] input, int inOff, int length) throws IOException
      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.