Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
ParsedPublishingLicenseBuilder Class Referenceabstract

#include <src/api/mip/protection/parsed_publishing_license_builder.h>

Public Member Functions

virtual std::shared_ptr< ParsedPublishingLicenseCreateParsedPublishingLicense ()=0
 Creates a ParsedPublishingLicense with the properties set on this object instance.
 
virtual void SetConnectionInfo (std::shared_ptr< LicenseConnectionInfo > licenseConnectionInfo)=0
 Sets the connection info.
 
virtual void SetContentId (const std::string &contentId)=0
 Sets the content id.
 
virtual void SetDescriptor (std::shared_ptr< LicenseDescriptor > descriptor)=0
 Sets the descriptor.
 
virtual void SetDomains (const std::vector< std::string > &domains)=0
 Sets the license domains.
 
virtual void SetDoubleKeyAlgorithm (const std::string &doubleKeyAlgorithm)=0
 Sets the double key algorithm.
 
virtual void SetEncryptedRightsData (const std::vector< uint8_t > &encryptedRightsData)=0
 Sets the encrypted rights data.
 
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 SetOwner (const std::string &owner)=0
 Sets the owner.
 
virtual void SetReferralInfoUrl (const std::string &referralInfoUrl)=0
 Sets the referral info url.
 
virtual void SetServerPublicCert (const std::string &serverPublicCert)=0
 Sets the server public cert.
 
virtual void SetSignedApplicationData (const std::vector< std::shared_ptr< LicenseApplicationData > > &signedApplicationData)=0
 Sets the signed application data.
 

Static Public Member Functions

static MIP_API std::shared_ptr< ParsedPublishingLicenseBuilderCreate ()
 Creates a ParsedPublishingLicenseBuilder.
 

Detailed Description

Definition at line 50 of file parsed_publishing_license_builder.h.

Member Function Documentation

◆ Create()

static MIP_API std::shared_ptr< ParsedPublishingLicenseBuilder > ParsedPublishingLicenseBuilder::Create ( )
static

◆ CreateParsedPublishingLicense()

virtual std::shared_ptr< ParsedPublishingLicense > ParsedPublishingLicenseBuilder::CreateParsedPublishingLicense ( )
pure virtual

Creates a ParsedPublishingLicense with the properties set on this object instance.

Returns
New ParsedPublishingLicense instance

◆ SetConnectionInfo()

virtual void ParsedPublishingLicenseBuilder::SetConnectionInfo ( std::shared_ptr< LicenseConnectionInfo > licenseConnectionInfo)
pure virtual

Sets the connection info.

Parameters
licenseConnectionInfo

◆ SetContentId()

virtual void ParsedPublishingLicenseBuilder::SetContentId ( const std::string & contentId)
pure virtual

Sets the content id.

Parameters
contentId

◆ SetDescriptor()

virtual void ParsedPublishingLicenseBuilder::SetDescriptor ( std::shared_ptr< LicenseDescriptor > descriptor)
pure virtual

Sets the descriptor.

Parameters
descriptor

◆ SetDomains()

virtual void ParsedPublishingLicenseBuilder::SetDomains ( const std::vector< std::string > & domains)
pure virtual

Sets the license domains.

Parameters
domains

◆ SetDoubleKeyAlgorithm()

virtual void ParsedPublishingLicenseBuilder::SetDoubleKeyAlgorithm ( const std::string & doubleKeyAlgorithm)
pure virtual

Sets the double key algorithm.

Parameters
doubleKeyAlgorithm

◆ SetEncryptedRightsData()

virtual void ParsedPublishingLicenseBuilder::SetEncryptedRightsData ( const std::vector< uint8_t > & encryptedRightsData)
pure virtual

Sets the encrypted rights data.

Parameters
encryptedRightsData

◆ SetIssuedTime()

virtual void ParsedPublishingLicenseBuilder::SetIssuedTime ( const std::chrono::time_point< std::chrono::system_clock > & issuedTime)
pure virtual

Sets the issued time.

Parameters
issuedTime

◆ SetIssuerId()

virtual void ParsedPublishingLicenseBuilder::SetIssuerId ( const std::string & issuerId)
pure virtual

Sets the issuer id.

Parameters
issuerId

◆ SetLabelInfo()

virtual void ParsedPublishingLicenseBuilder::SetLabelInfo ( const LabelInfo & labelInfo)
pure virtual

Sets the label info.

Parameters
labelInfo

◆ SetOwner()

virtual void ParsedPublishingLicenseBuilder::SetOwner ( const std::string & owner)
pure virtual

Sets the owner.

Parameters
owner

◆ SetReferralInfoUrl()

virtual void ParsedPublishingLicenseBuilder::SetReferralInfoUrl ( const std::string & referralInfoUrl)
pure virtual

Sets the referral info url.

Parameters
referralInfoUrl

◆ SetServerPublicCert()

virtual void ParsedPublishingLicenseBuilder::SetServerPublicCert ( const std::string & serverPublicCert)
pure virtual

Sets the server public cert.

Parameters
serverPublicCert

◆ SetSignedApplicationData()

virtual void ParsedPublishingLicenseBuilder::SetSignedApplicationData ( const std::vector< std::shared_ptr< LicenseApplicationData > > & signedApplicationData)
pure virtual

Sets the signed application data.

Parameters
signedApplicationData

The documentation for this class was generated from the following file: