IDxChallenge.h
1 /*
2  Copyright
3  This code is strictly confidential and the receiver is obliged to use it
4  exclusively for his or her own purposes. No part of Viaccess Orca code may
5  be reproduced or transmitted in any form or by any means, electronic or
6  mechanical, including photocopying, recording, or by any information storage
7  and retrieval system, without permission in writing from Viaccess Orca.
8  The information in this code is subject to change without notice. Viaccess
9  Orca does not warrant that this code is error free. If you find any problems
10  with this code or wish to make comments, please report them to Viaccess
11  Orca.
12 
13  Trademarks
14  Viaccess Orca is a registered trademark of Viaccess S.A in France and/or
15  other countries. All other product and company names mentioned herein are the
16  trademarks of their respective owners.
17  Viaccess S.A may hold patents, patent applications, trademarks, copyrights
18  or other intellectual property rights over the code hereafter. Unless
19  expressly specified otherwise in a Viaccess Orca written license agreement,
20  the delivery of this code does not imply the concession of any license over
21  these patents, trademarks, copyrights or other intellectual property.
22  */
23 
28 #import <Foundation/Foundation.h>
29 #import "DxDrmManagerDefines.h"
30 
33 @interface IDxChallenge : NSObject {
34 }
35 
41 -(NSString*) getChallenge;
42 
49 
55 -(NSString*) getServerUrl;
56 
64 -(NSString*) getSoapAction;
65 
79 -(IDxChallenge*) processServerResponse:(NSString*) serverResponse
80  result:(DxDrmManagerStatus*)checkResultOrNil;
81 
90 -(void) processPersonalizationServerResponse:(NSData*) serverResponse
91  result:(DxDrmManagerStatus*)checkResultOrNil;
92 
93 @end
NSData * getPersonalizationChallenge()
Retrieves the generated personalization challenge ready to be sent to the personalization server...
NSString * getChallenge()
Retrieves the generated challenge ready to be sent to the server.
The object of this interface will be returned from generateChallengeFromInitiator or from generateCha...
Definition: IDxChallenge.h:33
NSString * getSoapAction()
Retrieves an action type to be set in the HTTP header SOAPAction of the requset, which will contain t...
NSString * getServerUrl()
Retrieves a URL to the server, which the generated challenge should be sent to.