Skip to content

/AWS1/CL_MDCHLSENCSETTINGS

Settings for HLS encryption

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_constantinitializationv00 TYPE /AWS1/MDC__STRMIN32MAX32PAT000 /AWS1/MDC__STRMIN32MAX32PAT000

This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.

iv_encryptionmethod TYPE /AWS1/MDCHLSENCRYPTIONTYPE /AWS1/MDCHLSENCRYPTIONTYPE

Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in the web interface also disables encryption.

iv_initializationvectorinm00 TYPE /AWS1/MDCHLSINITIALIZATIONVE00 /AWS1/MDCHLSINITIALIZATIONVE00

The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest.

iv_offlineencrypted TYPE /AWS1/MDCHLSOFFLINEENCRYPTED /AWS1/MDCHLSOFFLINEENCRYPTED

Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for offline Apple HLS FairPlay content protection.

io_spekekeyprovider TYPE REF TO /AWS1/CL_MDCSPEKEKEYPROVIDER /AWS1/CL_MDCSPEKEKEYPROVIDER

If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.

io_statickeyprovider TYPE REF TO /AWS1/CL_MDCSTATICKEYPROVIDER /AWS1/CL_MDCSTATICKEYPROVIDER

Use these settings to set up encryption with a static key provider.

iv_type TYPE /AWS1/MDCHLSKEYPROVIDERTYPE /AWS1/MDCHLSKEYPROVIDERTYPE

Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.


Queryable Attributes

ConstantInitializationVector

This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.

Accessible with the following methods

Method Description
GET_CONSTANTINITIALIZATION00() Getter for CONSTANTINITIALIZATIONVECTOR, with configurable d
ASK_CONSTANTINITIALIZATION00() Getter for CONSTANTINITIALIZATIONVECTOR w/ exceptions if fie
HAS_CONSTANTINITIALIZATION00() Determine if CONSTANTINITIALIZATIONVECTOR has a value

EncryptionMethod

Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in the web interface also disables encryption.

Accessible with the following methods

Method Description
GET_ENCRYPTIONMETHOD() Getter for ENCRYPTIONMETHOD, with configurable default
ASK_ENCRYPTIONMETHOD() Getter for ENCRYPTIONMETHOD w/ exceptions if field has no va
HAS_ENCRYPTIONMETHOD() Determine if ENCRYPTIONMETHOD has a value

InitializationVectorInManifest

The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest.

Accessible with the following methods

Method Description
GET_INITIALIZATIONVECTORIN00() Getter for INITIALIZATIONVECTORINMANI00, with configurable d
ASK_INITIALIZATIONVECTORIN00() Getter for INITIALIZATIONVECTORINMANI00 w/ exceptions if fie
HAS_INITIALIZATIONVECTORIN00() Determine if INITIALIZATIONVECTORINMANI00 has a value

OfflineEncrypted

Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for offline Apple HLS FairPlay content protection.

Accessible with the following methods

Method Description
GET_OFFLINEENCRYPTED() Getter for OFFLINEENCRYPTED, with configurable default
ASK_OFFLINEENCRYPTED() Getter for OFFLINEENCRYPTED w/ exceptions if field has no va
HAS_OFFLINEENCRYPTED() Determine if OFFLINEENCRYPTED has a value

SpekeKeyProvider

If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.

Accessible with the following methods

Method Description
GET_SPEKEKEYPROVIDER() Getter for SPEKEKEYPROVIDER

StaticKeyProvider

Use these settings to set up encryption with a static key provider.

Accessible with the following methods

Method Description
GET_STATICKEYPROVIDER() Getter for STATICKEYPROVIDER

Type

Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value