类 ParsedPublishingLicenseBuilder
总结
成员 | 说明 |
---|---|
public void SetDomains(const std::vector<std::string>& domains) | 设置许可证域。 |
public void SetServerPublicCert(const std::string& serverPublicCert) | 设置服务器公共证书。 |
public void SetContentId(const std::string& contentId) | 设置内容 ID。 |
public void SetIssuerId(const std::string& issuerId) | 设置颁发者 ID。 |
public void SetDoubleKeyAlgorithm(const std::string& doubleKeyAlgorithm) | 设置双键算法。 |
public void SetOwner(const std::string& owner) | 设置所有者。 |
public void SetConnectionInfo(std::shared_ptr<LicenseConnectionInfo> licenseConnectionInfo) | 设置连接信息。 |
public void SetDescriptor(std::shared_ptr<LicenseDescriptor> descriptor) | 设置描述符。 |
public void SetReferralInfoUrl(const std::string& referralInfoUrl) | 设置引荐信息 URL。 |
public void SetSignedApplicationData(const std::vector<std::shared_ptr<LicenseApplicationData>>& signedApplicationData) | 设置已签名的应用程序数据。 |
public void SetIssuedTime(const std::chrono::time_point<std::chrono::system_clock>& issuedTime) | 设置颁发时间。 |
public void SetLabelInfo(const LabelInfo& labelInfo) | 设置标签信息。 |
public void SetEncryptedRightsData(const std::vector<uint8_t>& encryptedRightsData) | 设置加密的权限数据。 |
public std::shared_ptr<ParsedPublishingLicense> CreateParsedPublishingLicense() | 使用在此对象实例上设置的属性创建 ParsedPublishingLicense。 |
成员
SetDomains 函数
设置许可证域。
参数:
- domains:
SetServerPublicCert 函数
设置服务器公共证书。
参数:
- serverPublicCert:
SetContentId 函数
设置内容 ID。
参数:
- contentId:
SetIssuerId 函数
设置颁发者 ID。
参数:
- issuerId:
SetDoubleKeyAlgorithm 函数
设置双键算法。
参数:
- doubleKeyAlgorithm:
SetOwner 函数
设置所有者。
参数:
- owner:
SetConnectionInfo 函数
设置连接信息。
参数:
- licenseConnectionInfo:
SetDescriptor 函数
设置描述符。
参数:
- descriptor:
SetReferralInfoUrl 函数
设置引荐信息 URL。
参数:
- referralInfoUrl:
SetSignedApplicationData 函数
设置已签名的应用程序数据。
参数:
- signedApplicationData:
SetIssuedTime 函数
设置颁发时间。
参数:
- issuedTime:
SetLabelInfo 函数
设置标签信息。
参数:
- labelInfo:
SetEncryptedRightsData 函数
设置加密的权限数据。
参数:
- encryptedRightsData:
CreateParsedPublishingLicense 函数
使用在此对象实例上设置的属性创建 ParsedPublishingLicense。
返回:新的 ParsedPublishingLicense 实例
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈