Share via


EnvelopeEncryption Constructors

Definition

Overloads

EnvelopeEncryption()

Initializes a new instance of the EnvelopeEncryption class.

EnvelopeEncryption(EnabledProtocols, IList<TrackSelection>, StreamingPolicyContentKeys, String)

Initializes a new instance of the EnvelopeEncryption class.

EnvelopeEncryption()

Initializes a new instance of the EnvelopeEncryption class.

public EnvelopeEncryption ();
Public Sub New ()

Applies to

EnvelopeEncryption(EnabledProtocols, IList<TrackSelection>, StreamingPolicyContentKeys, String)

Initializes a new instance of the EnvelopeEncryption class.

public EnvelopeEncryption (Microsoft.Azure.Management.Media.Models.EnabledProtocols enabledProtocols = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.TrackSelection> clearTracks = default, Microsoft.Azure.Management.Media.Models.StreamingPolicyContentKeys contentKeys = default, string customKeyAcquisitionUrlTemplate = default);
new Microsoft.Azure.Management.Media.Models.EnvelopeEncryption : Microsoft.Azure.Management.Media.Models.EnabledProtocols * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.TrackSelection> * Microsoft.Azure.Management.Media.Models.StreamingPolicyContentKeys * string -> Microsoft.Azure.Management.Media.Models.EnvelopeEncryption
Public Sub New (Optional enabledProtocols As EnabledProtocols = Nothing, Optional clearTracks As IList(Of TrackSelection) = Nothing, Optional contentKeys As StreamingPolicyContentKeys = Nothing, Optional customKeyAcquisitionUrlTemplate As String = Nothing)

Parameters

enabledProtocols
EnabledProtocols

Representing supported protocols

clearTracks
IList<TrackSelection>

Representing which tracks should not be encrypted

contentKeys
StreamingPolicyContentKeys

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

customKeyAcquisitionUrlTemplate
String

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.

Applies to