aws_encryption_sdk.structures

Public data structures for aws_encryption_sdk.

Classes

DataKey(key_provider, data_key, …) Holds both the encrypted and unencrypted copies of a data key.
EncryptedDataKey(key_provider, …) Holds only the encrypted copy of a data key.
MasterKeyInfo(provider_id, key_info) Contains information necessary to identify a Master Key.
MessageHeader(version, type, algorithm, …) Deserialized message header object.
RawDataKey(key_provider, data_key) Hold only the unencrypted copy of a data key.
class aws_encryption_sdk.structures.DataKey(key_provider, data_key, encrypted_data_key)

Bases: object

Holds both the encrypted and unencrypted copies of a data key.

Parameters:
class aws_encryption_sdk.structures.EncryptedDataKey(key_provider, encrypted_data_key)

Bases: object

Holds only the encrypted copy of a data key.

Parameters:
class aws_encryption_sdk.structures.MasterKeyInfo(provider_id, key_info)

Bases: object

Contains information necessary to identify a Master Key.

Parameters:
  • provider_id (str) – MasterKey provider_id value
  • key_info (bytes) – MasterKey key_info value
class aws_encryption_sdk.structures.MessageHeader(version, type, algorithm, message_id, encryption_context, encrypted_data_keys, content_type, content_aad_length, header_iv_length, frame_length)

Bases: object

Deserialized message header object.

Parameters:
class aws_encryption_sdk.structures.RawDataKey(key_provider, data_key)

Bases: object

Hold only the unencrypted copy of a data key.

Parameters: