Class S3EncryptionClientUtilities


  • public class S3EncryptionClientUtilities
    extends Object
    Utility class containing shared constants and helper methods for the S3 Encryption Client and S3 Async Encryption Client.
    • Field Detail

      • DEFAULT_INSTRUCTION_FILE_SUFFIX

        public static final String DEFAULT_INSTRUCTION_FILE_SUFFIX
        The default suffix appended to object keys when creating instruction files. Instruction files store encryption metadata separately from the encrypted object.
        See Also:
        Constant Field Values
      • MIN_ALLOWED_BUFFER_SIZE_BYTES

        public static final long MIN_ALLOWED_BUFFER_SIZE_BYTES
        The minimum allowed buffer size in bytes for safe authentication mode. This is based on the cipher block size of the AES-256-GCM algorithm.
      • MAX_ALLOWED_BUFFER_SIZE_BYTES

        public static final long MAX_ALLOWED_BUFFER_SIZE_BYTES
        The maximum allowed buffer size in bytes for safe authentication mode. This is based on the maximum content length supported by the AES-256-GCM algorithm.
      • DEFAULT_BUFFER_SIZE_BYTES

        public static final long DEFAULT_BUFFER_SIZE_BYTES
        The Default Buffer Size for Safe authentication is set to 64MiB.
        See Also:
        Constant Field Values
    • Constructor Detail

      • S3EncryptionClientUtilities

        public S3EncryptionClientUtilities()