The object of this interface will be returned from generateChallengeFromInitiator or from generateChallengefromContent functions.
More...
#import <IDxChallenge.h>
The object of this interface will be returned from generateChallengeFromInitiator or from generateChallengefromContent functions.
- (NSString*) getChallenge |
|
|
|
Retrieves the generated challenge ready to be sent to the server.
- Returns
- the challenge.
- (NSData*) getPersonalizationChallenge |
|
|
|
Retrieves the generated personalization challenge ready to be sent to the personalization server.
- Returns
- the challenge.
- (NSString*) getServerUrl |
|
|
|
Retrieves a URL to the server, which the generated challenge should be sent to.
- Returns
- the URL.
- (NSString*) getSoapAction |
|
|
|
Retrieves an action type to be set in the HTTP header SOAPAction of the requset, which will contain the generated challenge.
- Returns
- The action type.
- (void) processPersonalizationServerResponse: |
|
(NSData *) |
serverResponse |
result: |
|
(DxDrmManagerStatus *) |
checkResultOrNil |
|
|
| |
Processes the response that the server sends in answer to the challenge.
- Parameters
-
[in] | serverResponse | The server response. |
[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.
- DX_MANAGER_ERROR_BAD_ARGUMENTS - if serverResponse is nil
|
- (IDxChallenge*) processServerResponse: |
|
(NSString *) |
serverResponse |
result: |
|
(DxDrmManagerStatus *) |
checkResultOrNil |
|
|
| |
Processes the response that the server sends in answer to the challenge.
If an acknowledgment challenge is required in response to a given challenge, this function generates such a challenge.
- Parameters
-
[in] | serverResponse | The server response. |
[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.
- DX_MANAGER_ERROR_BAD_ARGUMENTS - if serverResponse is nil
|
- Returns
- IDxChallenge that represents the generated acknowledgment challenge, if such a challenge has to be sent to the server, nil - otherwise.
The documentation for this class was generated from the following file: