CommonEncryptionCenc Class

  • java.lang.Object
    • com.azure.resourcemanager.mediaservices.models.CommonEncryptionCenc

public final class CommonEncryptionCenc

Class for envelope encryption scheme.

Constructor Summary

Constructor Description
CommonEncryptionCenc()

Creates an instance of CommonEncryptionCenc class.

Method Summary

Modifier and Type Method and Description
ClearKeyEncryptionConfiguration clearKeyEncryptionConfiguration()

Get the clearKeyEncryptionConfiguration property: Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.

List<TrackSelection> clearTracks()

Get the clearTracks property: Representing which tracks should not be encrypted.

StreamingPolicyContentKeys contentKeys()

Get the contentKeys property: Representing default content key for each encryption scheme and separate content keys for specific tracks.

CencDrmConfiguration drm()

Get the drm property: Configuration of DRMs for CommonEncryptionCenc encryption scheme.

EnabledProtocols enabledProtocols()

Get the enabledProtocols property: Representing supported protocols.

void validate()

Validates the instance.

CommonEncryptionCenc withClearKeyEncryptionConfiguration(ClearKeyEncryptionConfiguration clearKeyEncryptionConfiguration)

Set the clearKeyEncryptionConfiguration property: Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.

CommonEncryptionCenc withClearTracks(List<TrackSelection> clearTracks)

Set the clearTracks property: Representing which tracks should not be encrypted.

CommonEncryptionCenc withContentKeys(StreamingPolicyContentKeys contentKeys)

Set the contentKeys property: Representing default content key for each encryption scheme and separate content keys for specific tracks.

CommonEncryptionCenc withDrm(CencDrmConfiguration drm)

Set the drm property: Configuration of DRMs for CommonEncryptionCenc encryption scheme.

CommonEncryptionCenc withEnabledProtocols(EnabledProtocols enabledProtocols)

Set the enabledProtocols property: Representing supported protocols.

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:

the clearKeyEncryptionConfiguration value.

clearTracks

public List clearTracks()

Get the clearTracks property: Representing which tracks should not be encrypted.

Returns:

the clearTracks value.

contentKeys

public StreamingPolicyContentKeys contentKeys()

Get the contentKeys property: Representing default content key for each encryption scheme and separate content keys for specific tracks.

Returns:

the contentKeys value.

drm

public CencDrmConfiguration drm()

Get the drm property: Configuration of DRMs for CommonEncryptionCenc encryption scheme.

Returns:

the drm value.

enabledProtocols

public EnabledProtocols enabledProtocols()

Get the enabledProtocols property: Representing supported protocols.

Returns:

the enabledProtocols value.

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:

clearKeyEncryptionConfiguration - the clearKeyEncryptionConfiguration value to set.

Returns:

the CommonEncryptionCenc object itself.

withClearTracks

public CommonEncryptionCenc withClearTracks(List clearTracks)

Set the clearTracks property: Representing which tracks should not be encrypted.

Parameters:

clearTracks - the clearTracks value to set.

Returns:

the CommonEncryptionCenc object itself.

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:

contentKeys - the contentKeys value to set.

Returns:

the CommonEncryptionCenc object itself.

withDrm

public CommonEncryptionCenc withDrm(CencDrmConfiguration drm)

Set the drm property: Configuration of DRMs for CommonEncryptionCenc encryption scheme.

Parameters:

drm - the drm value to set.

Returns:

the CommonEncryptionCenc object itself.

withEnabledProtocols

public CommonEncryptionCenc withEnabledProtocols(EnabledProtocols enabledProtocols)

Set the enabledProtocols property: Representing supported protocols.

Parameters:

enabledProtocols - the enabledProtocols value to set.

Returns:

the CommonEncryptionCenc object itself.

Applies to