Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
WsbTs2CryptoSkb.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | TS2_CryptoInterface - SKB implementation
4 |
5 | $Id: WsbTs2CryptoSkb.h 11546 2015-02-03 07:31:48Z jebaseelir $
6 | Original author: Edin Hodzic ([email protected])
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) 2010-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
16 
17 #ifndef _WSB_TS2CRYPTOSKB_H_
18 #define _WSB_TS2CRYPTOSKB_H_
19 
20 /*----------------------------------------------------------------------
21 | includes
22 +---------------------------------------------------------------------*/
23 #include "Ts2Protection.h"
24 #include "WsbEcmDecrypter.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #elif 0
29 }
30 #endif /* __cplusplus */
31 
35 /*----------------------------------------------------------------------
36 | TS2_Crypto SKB implementation
37 +---------------------------------------------------------------------*/
38 typedef enum {
42 
43 /*----------------------------------------------------------------------
44 | TS2_Crypto SKB implementation
45 +---------------------------------------------------------------------*/
46 WSB_EXPORT ATX_Result
49  const void* key_format_params,
50  WSB_Ts2SkbDecryptionType decryption_type,
51  TS2_CryptoInterface** crypto);
52 
53 WSB_EXPORT void
55 
58 #ifdef __cplusplus
59 }
60 #endif /* __cplusplus */
61 
62 #endif /* _WSB_TS2CRYPTOSKB_H_ */
WSB_EXPORT ATX_Result WSB_Ts2Crypto_CreateSkb(TS2_DrmKeyResolver resolver, WSB_Mpeg2TsTrafficKey_Format format, const void *key_format_params, WSB_Ts2SkbDecryptionType decryption_type, TS2_CryptoInterface **crypto)
WSB_EXPORT void WSB_Ts2Crypto_ReleaseSkb(TS2_CryptoInterface *crypto)
WSB_Ts2SkbDecryptionType
Definition: WsbTs2CryptoSkb.h:38
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
WSB_Mpeg2TsTrafficKey_Format
MPEG-2 TS traffic key format.
Definition: WsbEcmDecrypter.h:124
Wasabi EcmDecrypter API.
Definition: WsbTs2CryptoSkb.h:40
Definition: WsbTs2CryptoSkb.h:39