EnvelopeEncryption Class

Class for EnvelopeEncryption encryption scheme.

Inheritance
EnvelopeEncryption

Constructor

EnvelopeEncryption(*, enabled_protocols: Optional[_models.EnabledProtocols] = None, clear_tracks: Optional[List[_models.TrackSelection]] = None, content_keys: Optional[_models.StreamingPolicyContentKeys] = None, custom_key_acquisition_url_template: Optional[str] = None, **kwargs)

Variables

enabled_protocols
EnabledProtocols

Representing supported protocols.

clear_tracks
list[TrackSelection]

Representing which tracks should not be encrypted.

content_keys
StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks.

custom_key_acquisition_url_template
str

Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.