Package software.amazon.encryption.s3
Class S3EncryptionClientUtilities
- java.lang.Object
-
- software.amazon.encryption.s3.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 Summary
Fields Modifier and Type Field Description static longDEFAULT_BUFFER_SIZE_BYTESThe Default Buffer Size for Safe authentication is set to 64MiB.static StringDEFAULT_INSTRUCTION_FILE_SUFFIXThe default suffix appended to object keys when creating instruction files.static longMAX_ALLOWED_BUFFER_SIZE_BYTESThe maximum allowed buffer size in bytes for safe authentication mode.static longMIN_ALLOWED_BUFFER_SIZE_BYTESThe minimum allowed buffer size in bytes for safe authentication mode.
-
Constructor Summary
Constructors Constructor Description S3EncryptionClientUtilities()
-
-
-
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
-
-