Class KeySystemConfiguration.Builder
-
- All Implemented Interfaces:
public final class KeySystemConfiguration.BuilderThe builder for the key system configuration.
-
-
Constructor Summary
Constructors Constructor Description KeySystemConfiguration.Builder(String licenseAcquisitionURL)
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>headers(Map<String, String> headers)Sets the map of HTTP headers for the license acquisition request. final <Error class: unknown class>useCredentials(Boolean useCredentials)Sets whether the player is allowed to use credentials for cross-origin requests. final <Error class: unknown class>queryParameters(Map<String, String> queryParameters)Sets the map of query parameters for the license acquisition request. final <Error class: unknown class>licenseType(LicenseType licenseType)Sets the license type. final <Error class: unknown class>certificate(ByteArray certificate)Sets the certificate. final <Error class: unknown class>forceSoftwareDecrypt(Boolean forceSoftwareDecrypt)Sets whether to force decryption to happen in software. final <Error class: unknown class>integrationParameters(Map<String, Object> integrationParameters)Sets the integration-specific parameters to be used by a ContentProtectionIntegration. final KeySystemConfigurationbuild()Builds the key system configuration. -
-
Constructor Detail
-
KeySystemConfiguration.Builder
KeySystemConfiguration.Builder(String licenseAcquisitionURL)
- Parameters:
licenseAcquisitionURL- The license acquisition URL.
-
-
Method Detail
-
headers
final <Error class: unknown class> headers(Map<String, String> headers)
Sets the map of HTTP headers for the license acquisition request.
- Parameters:
headers- Map of HTTP headers.
-
useCredentials
final <Error class: unknown class> useCredentials(Boolean useCredentials)
Sets whether the player is allowed to use credentials for cross-origin requests.
- Parameters:
useCredentials- Whether the player is allowed to use credentials for cross-origin requests.
-
queryParameters
final <Error class: unknown class> queryParameters(Map<String, String> queryParameters)
Sets the map of query parameters for the license acquisition request.
- Parameters:
queryParameters- Map of query parameters for the license acquisition requests.
-
licenseType
final <Error class: unknown class> licenseType(LicenseType licenseType)
Sets the license type.
- Parameters:
licenseType- The LicenseType.
-
certificate
final <Error class: unknown class> certificate(ByteArray certificate)
Sets the certificate.
- Parameters:
certificate- The certificate to be used.
-
forceSoftwareDecrypt
final <Error class: unknown class> forceSoftwareDecrypt(Boolean forceSoftwareDecrypt)
Sets whether to force decryption to happen in software.
-
integrationParameters
final <Error class: unknown class> integrationParameters(Map<String, Object> integrationParameters)
Sets the integration-specific parameters to be used by a ContentProtectionIntegration.
-
build
final KeySystemConfiguration build()
Builds the key system configuration.
-
-
-
-