10 #ifndef MEDIA_BASE_RSA_KEY_H_
11 #define MEDIA_BASE_RSA_KEY_H_
15 #include "packager/base/macros.h"
18 typedef struct rsa_st RSA;
20 namespace edash_packager {
35 bool Decrypt(
const std::string& encrypted_message,
36 std::string* decrypted_message);
64 bool Encrypt(
const std::string& clear_message,
65 std::string* encrypted_message);
70 const std::string& signature);
84 #endif // MEDIA_BASE_RSA_KEY_H_