Sdílet prostřednictvím


EnvelopeEncryption Class

Definition

Class for EnvelopeEncryption encryption scheme.

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

Constructors

EnvelopeEncryption()

Initializes a new instance of EnvelopeEncryption.

Properties

ClearTracks

Representing which tracks should not be encrypted.

ContentKeys

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

CustomKeyAcquisitionUriTemplate

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.

EnabledProtocols

Representing supported protocols.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EnvelopeEncryption>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EnvelopeEncryption>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EnvelopeEncryption>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EnvelopeEncryption>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EnvelopeEncryption>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to