Shaka Packager SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
shaka::media::EncryptionKey Struct Reference

Public Attributes

std::vector< ProtectionSystemSpecificInfokey_system_info
 
std::vector< uint8_t > key_id
 The ID of this key.
 
std::vector< std::vector< uint8_t > > key_ids
 The IDs of the other keys to include in PSSH info.
 
std::vector< uint8_t > key
 
std::vector< uint8_t > iv
 
std::string common_encryption_scheme
 

Detailed Description

Definition at line 38 of file key_source.h.

Member Data Documentation

◆ common_encryption_scheme

std::string shaka::media::EncryptionKey::common_encryption_scheme

The Common Encryption scheme this key is restricted to (e.g. 'cenc' or 'cbcs'), or empty if the key may be used with any scheme. Enforced where the stream's actual protection scheme is known, since the scheme may be overridden per stream (e.g. Apple Sample AES for TS output).

Definition at line 50 of file key_source.h.

◆ iv

std::vector<uint8_t> shaka::media::EncryptionKey::iv

Definition at line 45 of file key_source.h.

◆ key

std::vector<uint8_t> shaka::media::EncryptionKey::key

Definition at line 44 of file key_source.h.

◆ key_id

std::vector<uint8_t> shaka::media::EncryptionKey::key_id

The ID of this key.

Definition at line 41 of file key_source.h.

◆ key_ids

std::vector<std::vector<uint8_t> > shaka::media::EncryptionKey::key_ids

The IDs of the other keys to include in PSSH info.

Definition at line 43 of file key_source.h.

◆ key_system_info

std::vector<ProtectionSystemSpecificInfo> shaka::media::EncryptionKey::key_system_info

Definition at line 39 of file key_source.h.


The documentation for this struct was generated from the following file: