|
Shaka Packager SDK
|
A content key from a CPIX ContentKeyList. More...
#include <cpix_parser.h>
Public Attributes | |
| std::vector< uint8_t > | key_id |
16-byte CENC key ID, from the kid attribute. | |
| std::vector< uint8_t > | key |
| std::optional< CpixEncryptedValue > | encrypted_key |
| std::vector< uint8_t > | iv |
Optional IV, from the explicitIV attribute. Empty if not present. | |
| std::string | common_encryption_scheme |
A content key from a CPIX ContentKeyList.
Definition at line 35 of file cpix_parser.h.
| std::string shaka::media::CpixContentKey::common_encryption_scheme |
Optional commonEncryptionScheme attribute, e.g. "cenc" or "cbcs". Empty if not present.
Definition at line 49 of file cpix_parser.h.
| std::optional<CpixEncryptedValue> shaka::media::CpixContentKey::encrypted_key |
Set when Data/Secret contains an EncryptedValue instead of a PlainValue. The key must then be decrypted with the document key before use.
Definition at line 44 of file cpix_parser.h.
| std::vector<uint8_t> shaka::media::CpixContentKey::iv |
Optional IV, from the explicitIV attribute. Empty if not present.
Definition at line 46 of file cpix_parser.h.
| std::vector<uint8_t> shaka::media::CpixContentKey::key |
Clear key value, from Data/Secret/PlainValue. Empty if the key is encrypted (see encrypted_key).
Definition at line 40 of file cpix_parser.h.
| std::vector<uint8_t> shaka::media::CpixContentKey::key_id |
16-byte CENC key ID, from the kid attribute.
Definition at line 37 of file cpix_parser.h.