Wasabi ExpressPlay SDK for Embedded Systems
1.23.0
|
Wasabi Key Manager API. More...
#include "WsbTypes.h"
Go to the source code of this file.
Data Structures | |
struct | WSB_ContentKeyFormatInfo |
Typedefs | |
typedef struct WSB_KeyManager | WSB_KeyManager |
A WSB_KeyManager object can be used to register (set) and get content keys for a playback session. More... | |
Enumerations | |
enum | WSB_ContentKeyFormat { WSB_CONTENT_KEY_FORMAT_CLEARTEXT, WSB_CONTENT_KEY_FORMAT_SKB_STANDARD, WSB_CONTENT_KEY_FORMAT_SKB_CUSTOM } |
Functions | |
WSB_EXPORT WSB_Result | WSB_KeyManager_Create (WSB_KeyManager **manager) |
Creates an instance of a WSB_KeyManager object. More... | |
WSB_EXPORT WSB_Result | WSB_KeyManager_CreateEx (WSB_ContentKeyFormatInfo format_info, WSB_KeyManager **manager) |
Creates an instance of a WSB_KeyManager object. More... | |
WSB_EXPORT WSB_ContentKeyFormatInfo | WSB_KeyManager_GetContentKeyFormatInfo (WSB_KeyManager *self) |
Gets the content key format info. More... | |
WSB_EXPORT WSB_Result | WSB_KeyManager_SetTrackKey (WSB_KeyManager *self, WSB_UInt32 track_id, const char *track_content_id, const WSB_Byte *key_data, WSB_Size key_data_size) |
Sets the key for a track. More... | |
WSB_EXPORT WSB_Result | WSB_KeyManager_SetFileKey (WSB_KeyManager *self, const char *file_content_id, const WSB_Byte *key_data, WSB_Size key_data_size) |
Sets the key for the file. More... | |
WSB_EXPORT WSB_Result | WSB_KeyManager_GetKeyByName (const WSB_KeyManager *self, const char *key_name, WSB_Byte *key_data, WSB_Size *key_data_size) |
Gets the key for a given key name. More... | |
WSB_EXPORT WSB_Result | WSB_KeyManager_Clear (WSB_KeyManager *self) |
Clears the WSB_KeyManager object, making it available to hold the keys for a different media file. More... | |
WSB_EXPORT WSB_Result | WSB_KeyManager_Destroy (WSB_KeyManager *self) |
Destroys the WSB_KeyManager object. More... | |
Wasabi Key Manager API.
typedef struct WSB_KeyManager WSB_KeyManager |
A WSB_KeyManager object can be used to register (set) and get content keys for a playback session.
enum WSB_ContentKeyFormat |