7 #ifndef MEDIA_BASE_REQUEST_SIGNER_H_
8 #define MEDIA_BASE_REQUEST_SIGNER_H_
12 #include "packager/base/memory/scoped_ptr.h"
14 namespace edash_packager {
17 class AesCbcPkcs5Encryptor;
29 std::string* signature) = 0;
31 const std::string& signer_name()
const {
return signer_name_; }
37 std::string signer_name_;
50 const std::string& aes_key_hex,
51 const std::string& iv_hex);
55 std::string* signature) OVERRIDE;
59 scoped_ptr<AesCbcPkcs5Encryptor> encryptor);
61 scoped_ptr<AesCbcPkcs5Encryptor> aes_cbc_encryptor_;
74 const std::string& pkcs1_rsa_key);
78 std::string* signature) OVERRIDE;
82 scoped_ptr<RsaPrivateKey> rsa_private_key);
84 scoped_ptr<RsaPrivateKey> rsa_private_key_;
92 #endif // MEDIA_BASE_REQUEST_SIGNER_H_