Package org.opensearch.common.crypto
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
-
Method Details
-
supply
- 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.
-