aws_encryption_sdk.internal.defaults

Default values for AWS Encryption SDK.

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: 1>

Current specification version

aws_encryption_sdk.internal.defaults.TYPE = <ObjectType.CUSTOMER_AE_DATA: 128>

Default message structure Type as defined in specification

aws_encryption_sdk.internal.defaults.ALGORITHM = <AlgorithmSuite.AES_256_GCM_IV12_TAG16_HKDF_SHA384_ECDSA_P384: (888, <EncryptionSuite.AES_256_GCM_IV12_TAG16: (<class 'cryptography.hazmat.primitives.ciphers.algorithms.AES'>, <class 'cryptography.hazmat.primitives.ciphers.modes.GCM'>, 32, 12, 16)>, 1, <KDFSuite.HKDF_SHA384: (<class 'cryptography.hazmat.primitives.kdf.hkdf.HKDF'>, None, <class 'cryptography.hazmat.primitives.hashes.SHA384'>)>, <AuthenticationSuite.SHA256_ECDSA_P384: (<class 'cryptography.hazmat.primitives.asymmetric.ec.SECP384R1'>, <class 'cryptography.hazmat.primitives.hashes.SHA384'>, 103)>)>

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