DxDrmManager supplies an interface to perform DRM (Digital Rights Management) operations.
This includes license acquisition, rights verification and managing licenses.
DxDrmManager is a signleton object using the instantiator sharedManager method to supply it. The device must be personalized in order for any DRM operation to work.
- (IDxChallenge *) generatePersonalizationChallengeWithAppVersion: |
|
(NSString *) |
appVersion |
withPublicData: |
|
(NSString *) |
publicData |
withPrivateData: |
|
(NSString *) |
privateData |
result: |
|
(DxDrmManagerStatus *) |
checkResult |
|
|
| |
Generates a personalization challenge for active Drm Scheme.
The function returns IDxChallenge that enables handling the Personalization server response.
The IdxChallenge is valid as long as the IDxDrmDlc is alive. Terminating the IDxDrmDlc invalidates the IDxChallenge and it will not be able to handle the response correctly. Therefore the IDxDrmDlc must remain in memory until the response from the server is handled.
Generate another personalization challenge also cause the privies one to be invalid.
Do not use the <performPersonalizationWithSessionID>"()" method in parallel of using this challenge method
- Parameters
-
[in] | appVersion | The version name of the Application using the DxDrmManager Interface. |
[in] | publicData | Public data(if any) to be used on Personalization process. |
[in] | privateData | Private data(if any) to be used on Personalization process. |
[out] | checkResultOrNil | - A pointer to an DxDrmManagerStatus or nil(if it should be ignored). The output value of this parameter can be one of the following:
- DX_MANAGER_SUCCESS - Operation completed successfully.
|
- Returns
- IDxChallenge (autorelease) that represents the generated challenge
- (IDxChallenge *) generatePersonalizationChallengeWithSessionID: |
|
(NSString *) |
sessionID |
withAppVersion: |
|
(NSString *) |
appVersionOrNil |
result: |
|
(DxDrmManagerStatus *) |
checkResultOrNil |
|
|
| |
Generates a personalization challenge.
The function returns IDxChallenge that enables handling the Personalization server response.
The IdxChallenge is valid as long as the IDxDrmDlc is alive. Terminating the IDxDrmDlc invalidates the IDxChallenge and it will not be able to handle the response correctly. Therefore the IDxDrmDlc must remain in memory until the response from the server is handled.
Generate another personalization challenge also cause the privies one to be invalid.
Do not use the <performPersonalizationWithSessionID>"()" method in parallel of using this challenge method
- Parameters
-
[in] | appVersionOrNil | The version name of the Application using the DxDrmManager Interface. |
[in] | sessionID | Custom data that will be passed to the personalization server. |
[out] | checkResultOrNil | - A pointer to an DxDrmManagerStatus or nil(if it should be ignored). The output value of this parameter can be one of the following:
- DX_MANAGER_SUCCESS - Operation completed successfully.
|
- Returns
- IDxChallenge (autorelease) that represents the generated challenge