Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
Functions
Ts2CryptoGeneric.h File Reference
#include "Ts2Protection.h"
#include "Ts2Config.h"

Go to the source code of this file.

Functions

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 software, in the clear, in memory. More...
 
TS2_EXPORT void TS2_Crypto_ReleaseGeneric (TS2_CryptoInterface *crypto)
 Releases the specified TS2_CryptoInterface object. More...
 

Function Documentation

◆ TS2_Crypto_CreateGeneric()

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 software, in the clear, in memory.

Parameters
resolverA TS2_DrmKeyResolver, which, given a content ID, returns the key needed to decrypt content with the specified ID.
cryptoAddress of a TS2_CryptoInterface pointer, which this method will set to refer to the generic TS2_CryptoInterface implementation it provides.

◆ TS2_Crypto_ReleaseGeneric()

TS2_EXPORT void TS2_Crypto_ReleaseGeneric ( TS2_CryptoInterface crypto)

Releases the specified TS2_CryptoInterface object.

Parameters
cryptoThe TS2_CryptoInterface object.