Class Constants

java.lang.Object
com.amazonaws.encryptionsdk.internal.Constants

public final class Constants extends Object
  • Field Details

    • MESSAGE_ID_LEN

      @Deprecated public static final int MESSAGE_ID_LEN
      Deprecated.
      This value may change based on CryptoAlgorithm.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_NUMBER
      Marker for identifying the final frame.
      See Also:
      Constant Field Values
    • FRAME_STRING_ID

      public static final String 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

      public static final String 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

      public static final String 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_LEN
      Maximum 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_VAL
      Maximum 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

      public static final String EC_PUBLIC_KEY_FIELD
      See Also:
      Constant Field Values