ClearKeyEncryptionConfiguration Class

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

public final class ClearKeyEncryptionConfiguration

Class to specify ClearKey configuration of common encryption schemes in Streaming Policy.

Constructor Summary

Constructor Description
ClearKeyEncryptionConfiguration()

Creates an instance of ClearKeyEncryptionConfiguration class.

Method Summary

Modifier and Type Method and Description
String customKeysAcquisitionUrlTemplate()

Get the customKeysAcquisitionUrlTemplate property: Template for the URL of the custom service delivering content keys to end user players.

void validate()

Validates the instance.

ClearKeyEncryptionConfiguration withCustomKeysAcquisitionUrlTemplate(String customKeysAcquisitionUrlTemplate)

Set the customKeysAcquisitionUrlTemplate property: Template for the URL of the custom service delivering content keys to end user players.

Methods inherited from java.lang.Object

Constructor Details

ClearKeyEncryptionConfiguration

public ClearKeyEncryptionConfiguration()

Creates an instance of ClearKeyEncryptionConfiguration class.

Method Details

customKeysAcquisitionUrlTemplate

public String customKeysAcquisitionUrlTemplate()

Get the customKeysAcquisitionUrlTemplate property: Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.

Returns:

the customKeysAcquisitionUrlTemplate value.

validate

public void validate()

Validates the instance.

withCustomKeysAcquisitionUrlTemplate

public ClearKeyEncryptionConfiguration withCustomKeysAcquisitionUrlTemplate(String customKeysAcquisitionUrlTemplate)

Set the customKeysAcquisitionUrlTemplate property: Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.

Parameters:

customKeysAcquisitionUrlTemplate - the customKeysAcquisitionUrlTemplate value to set.

Returns:

the ClearKeyEncryptionConfiguration object itself.

Applies to