33#ifndef API_MIP_PROTECTION_PARSED_PUBLISHING_LICENSE_BUILDER_H_
34#define API_MIP_PROTECTION_PARSED_PUBLISHING_LICENSE_BUILDER_H_
58 MIP_API
static std::shared_ptr<ParsedPublishingLicenseBuilder>
Create();
65 virtual void SetDomains(
const std::vector<std::string>& domains) = 0;
100 virtual void SetOwner(
const std::string& owner) = 0;
107 virtual void SetConnectionInfo(std::shared_ptr<LicenseConnectionInfo> licenseConnectionInfo) = 0;
114 virtual void SetDescriptor(std::shared_ptr<LicenseDescriptor> descriptor) = 0;
135 virtual void SetIssuedTime(
const std::chrono::time_point<std::chrono::system_clock>& issuedTime) = 0;
virtual void SetReferralInfoUrl(const std::string &referralInfoUrl)=0
Sets the referral info url.
virtual std::shared_ptr< ParsedPublishingLicense > CreateParsedPublishingLicense()=0
Creates a ParsedPublishingLicense with the properties set on this object instance.
virtual void SetOwner(const std::string &owner)=0
Sets the owner.
virtual void SetConnectionInfo(std::shared_ptr< LicenseConnectionInfo > licenseConnectionInfo)=0
Sets the connection info.
virtual void SetEncryptedRightsData(const std::vector< uint8_t > &encryptedRightsData)=0
Sets the encrypted rights data.
virtual void SetServerPublicCert(const std::string &serverPublicCert)=0
Sets the server public cert.
virtual void SetIssuedTime(const std::chrono::time_point< std::chrono::system_clock > &issuedTime)=0
Sets the issued time.
virtual void SetIssuerId(const std::string &issuerId)=0
Sets the issuer id.
virtual void SetLabelInfo(const LabelInfo &labelInfo)=0
Sets the label info.
virtual void SetDescriptor(std::shared_ptr< LicenseDescriptor > descriptor)=0
Sets the descriptor.
virtual void SetContentId(const std::string &contentId)=0
Sets the content id.
virtual void SetSignedApplicationData(const std::vector< std::shared_ptr< LicenseApplicationData > > &signedApplicationData)=0
Sets the signed application data.
virtual void SetDoubleKeyAlgorithm(const std::string &doubleKeyAlgorithm)=0
Sets the double key algorithm.
static MIP_API std::shared_ptr< ParsedPublishingLicenseBuilder > Create()
Creates a ParsedPublishingLicenseBuilder.
virtual void SetDomains(const std::vector< std::string > &domains)=0
Sets the license domains.
Defines LicenseApplicationData interface.
Defines LicenseConnectionInfo interface.
Defines LicenseDescriptor interface.
A file export/import macros.
Contains details of a parsed publishing license.
Label information for a template or ad-hoc (custom) protection.