Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
WsbMs3Sas.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Wasabi - MS3 SAS API
4 |
5 | $Id: WsbMs3Sas.h 10793 2014-06-25 12:46:08Z jebaseelir $
6 | Original author: Eric Swenson
7 |
8 | This software is provided to you pursuant to your agreement
9 | with Intertrust Technologies Corporation ("Intertrust").
10 | This software may be used only in accordance with the terms
11 | of the agreement.
12 |
13 | Copyright (c) 2009-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
21 #ifndef _WSB_MS3_SAS_H_
22 #define _WSB_MS3_SAS_H_
23 
24 /*----------------------------------------------------------------------
25 | includes
26 +---------------------------------------------------------------------*/
27 #include "ShiData.h"
28 #include "WsbTypes.h"
29 #include "ShiAction.h"
30 #include "ShiLicense.h"
31 
32 /*----------------------------------------------------------------------
33 | interfaces
34 +---------------------------------------------------------------------*/
35 #if defined(__cplusplus)
36 extern "C" {
37 #endif
38 
47 typedef struct WSB_Ms3Sas WSB_Ms3Sas;
48 
58 WSB_EXPORT WSB_Result
60  SHI_ActionResult** action_result);
61 
70 WSB_EXPORT WSB_Result
72 
91 WSB_EXPORT WSB_Result
93  const char* content_id,
94  SHI_ContentKeyFormat format,
95  const void* format_parameters,
96  SHI_Data** data);
97 
98 
106 WSB_EXPORT WSB_Boolean
108  const char* content_id);
109 
121 WSB_EXPORT WSB_Result
123 
129 WSB_EXPORT WSB_Result
131 
134 #if defined(__cplusplus)
135 }
136 #endif
137 
138 #endif /* _WSB_MS3_SAS_H_ */
SHI_ContentKeyFormat
Format indenfifier for content keys.
Definition: ShiLicense.h:73
Actions.
WSB_EXPORT WSB_Result WSB_Ms3Sas_AcceptActionResult(WSB_Ms3Sas *sas)
Accepts the SHI_ActionResult associated with an MS3 SAS.
WSB_EXPORT WSB_Result WSB_Ms3Sas_GetContentKey(WSB_Ms3Sas *sas, const char *content_id, SHI_ContentKeyFormat format, const void *format_parameters, SHI_Data **data)
Retrieves a content key from an MS3 SAS.
WSB_Boolean
Boolean type used for variables that can be true (WSB_TRUE) or false (WSB_FALSE). ...
Definition: WsbTypes.h:71
struct WSB_Ms3Sas WSB_Ms3Sas
A WSB_Ms3Sas object provides an interface to manipulate an MS3 SAS.
Definition: WsbMs3Sas.h:47
WSB_EXPORT WSB_Boolean WSB_Ms3Sas_HasContentId(WSB_Ms3Sas *sas, const char *content_id)
Checks that a given content id is indeed present in the MS3 SAS.
WSB_EXPORT WSB_Result WSB_Ms3Sas_GetActionResult(WSB_Ms3Sas *sas, SHI_ActionResult **action_result)
Creates a SHI_ActionResult representing the rights expressed in an MS3 SAS.
int WSB_Result
Signed integer value representing a function or method result (return value).
Definition: WsbTypes.h:83
struct SHI_Data SHI_Data
A SHI_Data object represents a typed data object.
Definition: EmbProcessor.h:231
struct SHI_ActionResult SHI_ActionResult
A SHI_ActionResult object represents the result returned by several different SHI_Action methods...
Definition: ShiAction.h:444
WSB_EXPORT WSB_Result WSB_Ms3Sas_ToString(WSB_Ms3Sas *sas, SHI_Data **data)
Returns a string representation of the contents of the MS3 SAS.
WSB_EXPORT WSB_Result WSB_Ms3Sas_Destroy(WSB_Ms3Sas *sas)
Destroys a WSB_Ms3Sas object.
Wasabi Result.
Licenses.
Generic Data Objects.