Share via


CommonEncryptionCenc Class

Definition

Class for envelope encryption scheme.

public class CommonEncryptionCenc : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.CommonEncryptionCenc>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.CommonEncryptionCenc>
type CommonEncryptionCenc = class
    interface IJsonModel<CommonEncryptionCenc>
    interface IPersistableModel<CommonEncryptionCenc>
Public Class CommonEncryptionCenc
Implements IJsonModel(Of CommonEncryptionCenc), IPersistableModel(Of CommonEncryptionCenc)
Inheritance
System.Object
CommonEncryptionCenc
Implements
System.ClientModel.Primitives.IJsonModel<CommonEncryptionCenc> System.ClientModel.Primitives.IPersistableModel<CommonEncryptionCenc> System.ClientModel.Primitives.IPersistableModel<T>

Constructors

CommonEncryptionCenc()

Initializes a new instance of CommonEncryptionCenc.

Properties

ClearKeyEncryptionCustomKeysAcquisitionUriTemplate

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

ClearTracks

Representing which tracks should not be encrypted.

ContentKeys

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

Drm

Configuration of DRMs for CommonEncryptionCenc encryption scheme.

EnabledProtocols

Representing supported protocols.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CommonEncryptionCenc>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CommonEncryptionCenc>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<CommonEncryptionCenc>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<CommonEncryptionCenc>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CommonEncryptionCenc>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to