Class Constants
java.lang.Object
com.amazonaws.encryptionsdk.internal.Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String
static int
Marker for identifying the final frame.static String
The identifier for the final frame in the framing content type.static String
The identifier for non-final frames in the framing content type.static long
Maximum length of the content that can be encrypted in GCM mode.static long
static int
static int
Deprecated.static String
The identifier for the single block content type.static int
Maximum value of an unsigned short. -
Method Summary
-
Field Details
-
MESSAGE_ID_LEN
Deprecated.This value may change based onCryptoAlgorithm.getMessageIdLength()
Default length of the message identifier used to uniquely identify every ciphertext created by this library.- See Also:
- Constant Field Values
-
ENDFRAME_SEQUENCE_NUMBER
public static final int ENDFRAME_SEQUENCE_NUMBERMarker for identifying the final frame.- See Also:
- Constant Field Values
-
FRAME_STRING_ID
The identifier for non-final frames in the framing content type. This value is used as part of the additional authenticated data (AAD) when encryption of content in a frame.- See Also:
- Constant Field Values
-
FINAL_FRAME_STRING_ID
The identifier for the final frame in the framing content type. This value is used as part of the additional authenticated data (AAD) when encryption of content in a frame.- See Also:
- Constant Field Values
-
SINGLE_BLOCK_STRING_ID
The identifier for the single block content type. This value is used as part of the additional authenticated data (AAD) when encryption of content in a single block.- See Also:
- Constant Field Values
-
GCM_MAX_CONTENT_LEN
public static final long GCM_MAX_CONTENT_LENMaximum length of the content that can be encrypted in GCM mode.- See Also:
- Constant Field Values
-
MAX_NONCE_LENGTH
public static final int MAX_NONCE_LENGTH- See Also:
- Constant Field Values
-
UNSIGNED_SHORT_MAX_VAL
public static final int UNSIGNED_SHORT_MAX_VALMaximum value of an unsigned short.- See Also:
- Constant Field Values
-
MAX_FRAME_NUMBER
public static final long MAX_FRAME_NUMBER- See Also:
- Constant Field Values
-
EC_PUBLIC_KEY_FIELD
- See Also:
- Constant Field Values
-
CryptoAlgorithm.getMessageIdLength()