aws_encryption_sdk.internal.structures

Public data structures for aws_encryption_sdk.

Classes

EncryptedData(iv, ciphertext, tag)

Holds encrypted data.

MessageFooter(signature)

Deserialized message footer

MessageFrameBody(iv, ciphertext, tag, ...)

Deserialized message frame

MessageHeaderAuthentication(iv, tag)

Deserialized message header authentication

MessageNoFrameBody(iv, ciphertext, tag)

Deserialized message body with no framing

class aws_encryption_sdk.internal.structures.EncryptedData(iv, ciphertext, tag)

Bases: object

Holds encrypted data.

Parameters
  • iv (bytes) – Initialization Vector

  • ciphertext (bytes) – Ciphertext

  • tag (bytes) – Encryption tag

Method generated by attrs for class EncryptedData.

class aws_encryption_sdk.internal.structures.MessageHeaderAuthentication(iv, tag)

Bases: object

Deserialized message header authentication

Parameters
  • iv (bytes) – Initialization Vector

  • tag (bytes) – Encryption Tag

Method generated by attrs for class MessageHeaderAuthentication.

class aws_encryption_sdk.internal.structures.MessageFrameBody(iv, ciphertext, tag, sequence_number, final_frame)

Bases: object

Deserialized message frame

Parameters
  • iv (bytes) – Initialization Vector

  • ciphertext (bytes) – Ciphertext

  • tag (bytes) – Encryption Tag

  • sequence_number (int) – Frame sequence number

  • final_frame (bool) – Identifies final frames

Method generated by attrs for class MessageFrameBody.

class aws_encryption_sdk.internal.structures.MessageNoFrameBody(iv, ciphertext, tag)

Bases: object

Deserialized message body with no framing

Parameters
  • iv (bytes) – Initialization Vector

  • ciphertext (bytes) – Ciphertext

  • tag (bytes) – Encryption Tag

Method generated by attrs for class MessageNoFrameBody.

class aws_encryption_sdk.internal.structures.MessageFooter(signature)

Bases: object

Deserialized message footer

Parameters

signature (bytes) – Message signature

Method generated by attrs for class MessageFooter.