aws_encryption_sdk.internal.defaults

Default values for AWS Encryption SDK.

Module Attributes

LINE_LENGTH

Default chunk size to read data from sources in streaming clients

ENCODING

Standard string encoding where needed

FRAME_LENGTH

Default frame length when using framing

MESSAGE_ID_LENGTH

Message ID length as defined in specification

VERSION

Current specification version

TYPE

Default message structure Type as defined in specification

ALGORITHM

Default algorithm as defined in specification

ENCODED_SIGNER_KEY

Key to add encoded signing key to encryption context dictionary as defined in specification

MAX_MESSAGES_PER_KEY

Maximum number of messages which are allowed to be encrypted under a single cached data key

MAX_BYTES_PER_KEY

Maximum number of bytes which are allowed to be encrypted under a single cached data key

MAX_FRAME_COUNT

Maximum number of frames allowed in one message as defined in specification

MAX_FRAME_SIZE

Maximum bytes allowed in a single frame as defined in specification

MAX_GCM_CONTENT_SIZE

Maximum bytes allowed in a non-framed message ciphertext as defined in specification

MAX_NON_FRAMED_SIZE

Maximum bytes allowed in a non-framed message ciphertext as defined in specification

MAX_BYTE_ARRAY_SIZE

Maximum number of AAD bytes allowed as defined in specification

aws_encryption_sdk.internal.defaults.LINE_LENGTH = 8192

Default chunk size to read data from sources in streaming clients

aws_encryption_sdk.internal.defaults.ENCODING = 'utf-8'

Standard string encoding where needed

aws_encryption_sdk.internal.defaults.FRAME_LENGTH = 4096

Default frame length when using framing

aws_encryption_sdk.internal.defaults.MESSAGE_ID_LENGTH = 16

Message ID length as defined in specification

aws_encryption_sdk.internal.defaults.VERSION = SerializationVersion.V1

Current specification version

aws_encryption_sdk.internal.defaults.TYPE = ObjectType.CUSTOMER_AE_DATA

Default message structure Type as defined in specification

aws_encryption_sdk.internal.defaults.ALGORITHM = AlgorithmSuite.AES_256_GCM_IV12_TAG16_HKDF_SHA384_ECDSA_P384

Default algorithm as defined in specification

aws_encryption_sdk.internal.defaults.ENCODED_SIGNER_KEY = 'aws-crypto-public-key'

Key to add encoded signing key to encryption context dictionary as defined in specification

aws_encryption_sdk.internal.defaults.MAX_MESSAGES_PER_KEY = 4294967296

Maximum number of messages which are allowed to be encrypted under a single cached data key

aws_encryption_sdk.internal.defaults.MAX_BYTES_PER_KEY = 9223372036854775807

Maximum number of bytes which are allowed to be encrypted under a single cached data key

aws_encryption_sdk.internal.defaults.MAX_FRAME_COUNT = 4294967295

Maximum number of frames allowed in one message as defined in specification

aws_encryption_sdk.internal.defaults.MAX_FRAME_SIZE = 2147483647

Maximum bytes allowed in a single frame as defined in specification

aws_encryption_sdk.internal.defaults.MAX_GCM_CONTENT_SIZE = 68719476704

Maximum bytes allowed in a non-framed message ciphertext as defined in specification

aws_encryption_sdk.internal.defaults.MAX_NON_FRAMED_SIZE = 68719476704

Maximum bytes allowed in a non-framed message ciphertext as defined in specification

aws_encryption_sdk.internal.defaults.MAX_BYTE_ARRAY_SIZE = 65535

Maximum number of AAD bytes allowed as defined in specification