CommonEncryptionCenc Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. CommonEncryptionCenc
- com.
public final class CommonEncryptionCenc
Class for envelope encryption scheme.
Constructor Summary
Constructor | Description |
---|---|
CommonEncryptionCenc() |
Creates an instance of Common |
Method Summary
Modifier and Type | Method and Description |
---|---|
Clear |
clearKeyEncryptionConfiguration()
Get the clear |
List<Track |
clearTracks()
Get the clear |
Streaming |
contentKeys()
Get the content |
Cenc |
drm()
Get the drm property: Configuration of DRMs for Common |
Enabled |
enabledProtocols()
Get the enabled |
void |
validate()
Validates the instance. |
Common |
withClearKeyEncryptionConfiguration(ClearKeyEncryptionConfiguration clearKeyEncryptionConfiguration)
Set the clear |
Common |
withClearTracks(List<TrackSelection> clearTracks)
Set the clear |
Common |
withContentKeys(StreamingPolicyContentKeys contentKeys)
Set the content |
Common |
withDrm(CencDrmConfiguration drm)
Set the drm property: Configuration of DRMs for Common |
Common |
withEnabledProtocols(EnabledProtocols enabledProtocols)
Set the enabled |
Methods inherited from java.lang.Object
Constructor Details
CommonEncryptionCenc
public CommonEncryptionCenc()
Creates an instance of CommonEncryptionCenc class.
Method Details
clearKeyEncryptionConfiguration
public ClearKeyEncryptionConfiguration clearKeyEncryptionConfiguration()
Get the clearKeyEncryptionConfiguration property: Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
Returns:
clearTracks
public List
Get the clearTracks property: Representing which tracks should not be encrypted.
Returns:
contentKeys
public StreamingPolicyContentKeys contentKeys()
Get the contentKeys property: Representing default content key for each encryption scheme and separate content keys for specific tracks.
Returns:
drm
public CencDrmConfiguration drm()
Get the drm property: Configuration of DRMs for CommonEncryptionCenc encryption scheme.
Returns:
enabledProtocols
public EnabledProtocols enabledProtocols()
Get the enabledProtocols property: Representing supported protocols.
Returns:
validate
public void validate()
Validates the instance.
withClearKeyEncryptionConfiguration
public CommonEncryptionCenc withClearKeyEncryptionConfiguration(ClearKeyEncryptionConfiguration clearKeyEncryptionConfiguration)
Set the clearKeyEncryptionConfiguration property: Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
Parameters:
Returns:
withClearTracks
public CommonEncryptionCenc withClearTracks(List
Set the clearTracks property: Representing which tracks should not be encrypted.
Parameters:
Returns:
withContentKeys
public CommonEncryptionCenc withContentKeys(StreamingPolicyContentKeys contentKeys)
Set the contentKeys property: Representing default content key for each encryption scheme and separate content keys for specific tracks.
Parameters:
Returns:
withDrm
public CommonEncryptionCenc withDrm(CencDrmConfiguration drm)
Set the drm property: Configuration of DRMs for CommonEncryptionCenc encryption scheme.
Parameters:
Returns:
withEnabledProtocols
public CommonEncryptionCenc withEnabledProtocols(EnabledProtocols enabledProtocols)
Set the enabledProtocols property: Representing supported protocols.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for