Skip to content

CmafEncryption

Source code in docs_src/capo_mediapackage/types/cmaf_encryption.py
class CmafEncryption(TypedDict, closed=True):
    constant_initialization_vector: NotRequired[
        "capo_mediapackage.types.__string.__string"
    ]
    """An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV)."""
    encryption_method: NotRequired[
        "capo_mediapackage.types.cmaf_encryption_method.CmafEncryptionMethod"
    ]
    key_rotation_interval_seconds: NotRequired[
        "capo_mediapackage.types.__integer.__integer"
    ]
    """Time (in seconds) between each encryption key rotation."""
    speke_key_provider: NotRequired[
        "capo_mediapackage.types.speke_key_provider.SpekeKeyProvider"
    ]

constant_initialization_vector instance-attribute

constant_initialization_vector: NotRequired[__string]

An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).

encryption_method instance-attribute

encryption_method: NotRequired[CmafEncryptionMethod]

key_rotation_interval_seconds instance-attribute

key_rotation_interval_seconds: NotRequired[__integer]

Time (in seconds) between each encryption key rotation.

speke_key_provider instance-attribute

speke_key_provider: NotRequired[SpekeKeyProvider]