Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
Ts2CryptoGeneric.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | MPEG2 Transport Stream - TS2_CryptoInterface
4 | generic implementation
5 |
6 | $Id: Ts2CryptoGeneric.h 296 2014-06-25 11:20:09Z jebaseelir $
7 | Original author: Edin Hodzic ([email protected])
8 |
9 | This software is provided to you pursuant to your agreement
10 | with Intertrust Technologies Corporation ("Intertrust").
11 | This software may be used only in accordance with the terms
12 | of the agreement.
13 |
14 | Copyright (c) 2010-2014 by Intertrust. All rights reserved.
15 |
16 ****************************************************************/
17 
18 #ifndef _TS2_CRYPTOGENERIC_H_
19 #define _TS2_CRYPTOGENERIC_H_
20 
21 /*----------------------------------------------------------------------
22 | includes
23 +---------------------------------------------------------------------*/
24 #include "Ts2Protection.h"
25 #include "Ts2Config.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #elif 0
30 }
31 #endif /* __cplusplus */
32 
33 /*----------------------------------------------------------------------
34 | TS2_CryptoInterface generic implementation
35 +---------------------------------------------------------------------*/
46 TS2_EXPORT ATX_Result
48  TS2_CryptoInterface** crypto);
49 
55 TS2_EXPORT void
57 
58 #ifdef __cplusplus
59 }
60 #endif /* __cplusplus */
61 
62 #endif /* _TS2_CRYPTOGENERIC_H_ */
TS2_EXPORT void TS2_Crypto_ReleaseGeneric(TS2_CryptoInterface *crypto)
Releases the specified TS2_CryptoInterface object.
#define TS2_EXPORT
Definition: Ts2Config.h:67
TS2_EXPORT ATX_Result TS2_Crypto_CreateGeneric(TS2_DrmKeyResolver resolver, TS2_CryptoInterface **crypto)
Returns a generic TS2_CryptoInterface implementation that does all its cryptographic processing in so...
Definition: Ts2Protection.h:46
Clients of the MPEG-2 TS SDK API must implement the following interface (TS2_CryptoInterface) to prov...
Definition: Ts2Protection.h:118