CommonEncryptionCbcs Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. CommonEncryptionCbcs
- com.
public final class CommonEncryptionCbcs
Class for CommonEncryptionCbcs encryption scheme.
Constructor Summary
Constructor | Description |
---|---|
CommonEncryptionCbcs() |
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 |
Cbcs |
drm()
Get the drm property: Configuration of DRMs for current encryption scheme. |
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(CbcsDrmConfiguration drm)
Set the drm property: Configuration of DRMs for current encryption scheme. |
Common |
withEnabledProtocols(EnabledProtocols enabledProtocols)
Set the enabled |
Methods inherited from java.lang.Object
Constructor Details
CommonEncryptionCbcs
public CommonEncryptionCbcs()
Creates an instance of CommonEncryptionCbcs class.
Method Details
clearKeyEncryptionConfiguration
public ClearKeyEncryptionConfiguration clearKeyEncryptionConfiguration()
Get the clearKeyEncryptionConfiguration property: Optional configuration supporting ClearKey in CommonEncryptionCbcs 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 CbcsDrmConfiguration drm()
Get the drm property: Configuration of DRMs for current encryption scheme.
Returns:
enabledProtocols
public EnabledProtocols enabledProtocols()
Get the enabledProtocols property: Representing supported protocols.
Returns:
validate
public void validate()
Validates the instance.
withClearKeyEncryptionConfiguration
public CommonEncryptionCbcs withClearKeyEncryptionConfiguration(ClearKeyEncryptionConfiguration clearKeyEncryptionConfiguration)
Set the clearKeyEncryptionConfiguration property: Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
Parameters:
Returns:
withClearTracks
public CommonEncryptionCbcs withClearTracks(List
Set the clearTracks property: Representing which tracks should not be encrypted.
Parameters:
Returns:
withContentKeys
public CommonEncryptionCbcs 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 CommonEncryptionCbcs withDrm(CbcsDrmConfiguration drm)
Set the drm property: Configuration of DRMs for current encryption scheme.
Parameters:
Returns:
withEnabledProtocols
public CommonEncryptionCbcs 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