Shaka Player Embedded
|
#include <configuration.h>
Public Member Functions | |
FrameEncryptionInfo (EncryptionScheme scheme, const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &iv) | |
FrameEncryptionInfo (EncryptionScheme scheme, EncryptionPattern pattern, const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &iv) | |
FrameEncryptionInfo (EncryptionScheme scheme, EncryptionPattern pattern, const std::vector< uint8_t > &key_id, const std::vector< uint8_t > &iv, const std::vector< SubsampleInfo > &subsamples) | |
~FrameEncryptionInfo () | |
FrameEncryptionInfo (const FrameEncryptionInfo &)=delete | |
FrameEncryptionInfo & | operator= (const FrameEncryptionInfo &)=delete |
FrameEncryptionInfo (FrameEncryptionInfo &&)=delete | |
FrameEncryptionInfo & | operator= (FrameEncryptionInfo &&)=delete |
Public Attributes | |
const EncryptionScheme | scheme |
const EncryptionPattern | pattern |
const std::vector< uint8_t > | key_id |
const std::vector< uint8_t > | iv |
const std::vector< SubsampleInfo > | subsamples |
Contains info about how a frame is encrypted.
Definition at line 117 of file configuration.h.
shaka::eme::FrameEncryptionInfo::FrameEncryptionInfo | ( | EncryptionScheme | scheme, |
const std::vector< uint8_t > & | key_id, | ||
const std::vector< uint8_t > & | iv | ||
) |
Definition at line 31 of file configuration.cc.
shaka::eme::FrameEncryptionInfo::FrameEncryptionInfo | ( | EncryptionScheme | scheme, |
EncryptionPattern | pattern, | ||
const std::vector< uint8_t > & | key_id, | ||
const std::vector< uint8_t > & | iv | ||
) |
Definition at line 36 of file configuration.cc.
shaka::eme::FrameEncryptionInfo::FrameEncryptionInfo | ( | EncryptionScheme | scheme, |
EncryptionPattern | pattern, | ||
const std::vector< uint8_t > & | key_id, | ||
const std::vector< uint8_t > & | iv, | ||
const std::vector< SubsampleInfo > & | subsamples | ||
) |
Definition at line 42 of file configuration.cc.
shaka::eme::FrameEncryptionInfo::~FrameEncryptionInfo | ( | ) |
Definition at line 52 of file configuration.cc.
|
delete |
|
delete |
|
delete |
|
delete |
const std::vector<uint8_t> shaka::eme::FrameEncryptionInfo::iv |
Contains the encryption initialization vector. Should be 16 bytes.
Definition at line 152 of file configuration.h.
const std::vector<uint8_t> shaka::eme::FrameEncryptionInfo::key_id |
Contains the ID of the key this is encrypted with. Should be 16 bytes.
Definition at line 149 of file configuration.h.
const EncryptionPattern shaka::eme::FrameEncryptionInfo::pattern |
Contains the pattern this is encrypted with. Will be (0, 0) for non-pattern encryption.
Definition at line 143 of file configuration.h.
const EncryptionScheme shaka::eme::FrameEncryptionInfo::scheme |
Contains the scheme this is encrypted with.
Definition at line 137 of file configuration.h.
const std::vector<SubsampleInfo> shaka::eme::FrameEncryptionInfo::subsamples |
Contains info about the subsamples in this frame. Subsamples are contiguous and appear in this order. If this is empty, then the whole frame is encrypted.
Definition at line 159 of file configuration.h.