class EncryptedKDMData;
}
-class Signer;
+class CertificateChain;
class Certificate;
/** @class EncryptedKDM
class EncryptedKDM
{
public:
- /** Read a KDM from an XML file.
- * @param file XML file to read.
- */
- EncryptedKDM (boost::filesystem::path file);
-
+ EncryptedKDM (std::string);
EncryptedKDM (EncryptedKDM const & kdm);
EncryptedKDM & operator= (EncryptedKDM const &);
~EncryptedKDM ();
* keys (also key id, CPL id etc.)
*/
std::list<std::string> keys () const;
-
+
private:
friend class DecryptedKDM;
/** Construct an EncryptedKDM from a set of details */
EncryptedKDM (
- boost::shared_ptr<const Signer> signer,
- boost::shared_ptr<const Certificate> recipient,
+ boost::shared_ptr<const CertificateChain> signer,
+ Certificate recipient,
std::string device_list_description,
std::string cpl_id,
std::string cpl_content_title_text,
std::list<std::pair<std::string, std::string> > key_ids,
std::list<std::string> keys
);
-
+
data::EncryptedKDMData* _data;
};