7 #ifndef PACKAGER_MEDIA_CRYPTO_AES_ENCRYPTOR_FACTORY_H_
8 #define PACKAGER_MEDIA_CRYPTO_AES_ENCRYPTOR_FACTORY_H_
10 #include <packager/media/base/fourccs.h>
11 #include <packager/media/base/stream_info.h>
25 virtual std::unique_ptr<AesCryptor> CreateEncryptor(
26 FourCC protection_scheme,
27 uint8_t crypt_byte_block,
28 uint8_t skip_byte_block,
30 const std::vector<uint8_t>& key,
31 const std::vector<uint8_t>& iv);
All the methods that are virtual are virtual for mocking.