ClearKeyEncryptionConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. ClearKeyEncryptionConfiguration
- com.
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 Clear |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
customKeysAcquisitionUrlTemplate()
Get the custom |
void |
validate()
Validates the instance. |
Clear |
withCustomKeysAcquisitionUrlTemplate(String customKeysAcquisitionUrlTemplate)
Set the custom |
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:
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:
Returns:
Applies to
Azure SDK for Java