Interface EncryptedHeaderContentSupplier


public interface EncryptedHeaderContentSupplier
This is used in partial decryption. Header information is required for decryption of actual encrypted content. Implementation of this supplier only requires first few bytes of encrypted content to be supplied.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    supply(long start, long end)
     
  • Method Details

    • supply

      byte[] supply(long start, long end) throws IOException
      Parameters:
      start - Start position of the encrypted content (Generally supplied as 0 during usage)
      end - End position of the header.
      Returns:
      Encrypted header content (May contain additional content which is later discarded)
      Throws:
      IOException - In case content fetch fails.