Shaka Player Embedded
Public Member Functions | Public Attributes | List of all members
shaka::eme::FrameEncryptionInfo Class Referencefinal

#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
 
FrameEncryptionInfooperator= (const FrameEncryptionInfo &)=delete
 
 FrameEncryptionInfo (FrameEncryptionInfo &&)=delete
 
FrameEncryptionInfooperator= (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< SubsampleInfosubsamples
 

Detailed Description

Contains info about how a frame is encrypted.

Definition at line 117 of file configuration.h.

Constructor & Destructor Documentation

§ FrameEncryptionInfo() [1/5]

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.

§ FrameEncryptionInfo() [2/5]

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.

§ FrameEncryptionInfo() [3/5]

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.

§ ~FrameEncryptionInfo()

shaka::eme::FrameEncryptionInfo::~FrameEncryptionInfo ( )

Definition at line 52 of file configuration.cc.

§ FrameEncryptionInfo() [4/5]

shaka::eme::FrameEncryptionInfo::FrameEncryptionInfo ( const FrameEncryptionInfo )
delete

§ FrameEncryptionInfo() [5/5]

shaka::eme::FrameEncryptionInfo::FrameEncryptionInfo ( FrameEncryptionInfo &&  )
delete

Member Function Documentation

§ operator=() [1/2]

FrameEncryptionInfo& shaka::eme::FrameEncryptionInfo::operator= ( const FrameEncryptionInfo )
delete

§ operator=() [2/2]

FrameEncryptionInfo& shaka::eme::FrameEncryptionInfo::operator= ( FrameEncryptionInfo &&  )
delete

Member Data Documentation

§ iv

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.

§ key_id

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.

§ pattern

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.

§ scheme

const EncryptionScheme shaka::eme::FrameEncryptionInfo::scheme

Contains the scheme this is encrypted with.

Definition at line 137 of file configuration.h.

§ subsamples

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.


The documentation for this class was generated from the following files: