Wasabi ExpressPlay SDK for Embedded Systems
1.10
Main Page
Modules
Data Structures
Files
File List
Globals
Client
Source
Interface
Extended
WsbTs2CryptoSkb.h
Go to the documentation of this file.
1
/*****************************************************************
2
|
3
| TS2_CryptoInterface - SKB implementation
4
|
5
| $Id: WsbTs2CryptoSkb.h 10793 2014-06-25 12:46:08Z jebaseelir $
6
| Original author: Edin Hodzic (dino@concisoft.com)
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
32
/*----------------------------------------------------------------------
33
| TS2_Crypto SKB implementation
34
+---------------------------------------------------------------------*/
35
typedef
enum
{
36
WSB_TS2_DECRYPT_USING_SKB
,
37
WSB_TS2_DECRYPT_CONTENT_KEYS
38
}
WSB_Ts2SkbDecryptionType
;
39
40
/*----------------------------------------------------------------------
41
| TS2_Crypto SKB implementation
42
+---------------------------------------------------------------------*/
43
WSB_EXPORT ATX_Result
44
WSB_Ts2Crypto_CreateSkb
(
TS2_DrmKeyResolver
resolver,
45
WSB_Mpeg2TsTrafficKey_Format
format,
46
const
void
* key_format_params,
47
WSB_Ts2SkbDecryptionType
decryption_type,
48
TS2_CryptoInterface
** crypto);
49
50
WSB_EXPORT
void
51
WSB_Ts2Crypto_ReleaseSkb
(
TS2_CryptoInterface
* crypto);
52
53
#ifdef __cplusplus
54
}
55
#endif
/* __cplusplus */
56
57
#endif
/* _WSB_TS2CRYPTOSKB_H_ */