Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
PublishingLicenseInfo Class Reference

Holds the details of a Publishing License used to create a protection handler. More...

#include <protection_common_types.h>

Public Member Functions

 PublishingLicenseInfo (const std::vector< uint8_t > &serializedPublishingLicense)
 
 PublishingLicenseInfo (const std::vector< uint8_t > &serializedPreLicense, const std::vector< uint8_t > &serializedPublishingLicense)
 
void SetParsedData (std::shared_ptr< ParsedPublishingLicense > parsedPublishingLicense)
 
void SetParsedData (const std::vector< std::string > &domains, const std::string &serverPublicCert, const std::string &contentId, const std::string &issuerId)
 
const std::vector< uint8_t > & GetSerializedPublishingLicense () const
 
const std::vector< uint8_t > & GetPreLicense () const
 
const std::vector< std::string > & GetDomains () const
 
const std::string & GetServerPublicCertificate () const
 
const std::string & GetIssuerId () const
 
const std::string & GetSealedKeyType () const
 
const std::string & GetContentId () const
 
bool IsLicenseParsed () const
 
bool HasPreLicense () const
 
bool GetIsDoubleKeyLicense () const
 
const std::string & GetDoubleKeyAlgorithm () const
 
const std::string & GetOwner () const
 
std::shared_ptr< LicenseConnectionInfoGetConnectionInfo () const
 
std::shared_ptr< LicenseDescriptorGetDescriptor () const
 
const std::string & GetReferralInfoUrl () const
 
const std::vector< std::shared_ptr< LicenseApplicationData > > & GetSignedApplicationData () const
 
const std::chrono::time_point< std::chrono::system_clock > & GetIssuedTime () const
 
const mip::LabelInfo GetLabelInfo () const
 
const std::vector< uint8_t > & GetEncryptedRightsData () const
 

Private Attributes

std::vector< uint8_t > mPreLicense
 
std::vector< uint8_t > mSerializedPublishingLicense
 
std::vector< std::string > mDomains
 
std::string mServerPublicCert
 
std::string mContentId
 
std::string mIssuerId
 
std::string mSealedKeyType
 
bool mIsParsed
 
std::string mDoubleKeyAlgorithm
 
std::string mOwner
 
std::shared_ptr< LicenseConnectionInfomConnectionInfo
 
std::shared_ptr< LicenseDescriptormDescriptor
 
std::string mReferralInfoUrl
 
std::vector< std::shared_ptr< LicenseApplicationData > > mSignedApplicationData
 
std::chrono::time_point< std::chrono::system_clock > mIssuedTime
 
LabelInfo mLabelInfo
 
std::vector< uint8_t > mEncryptedRightsData
 

Detailed Description

Holds the details of a Publishing License used to create a protection handler.

Constructor & Destructor Documentation

◆ PublishingLicenseInfo() [1/2]

PublishingLicenseInfo::PublishingLicenseInfo ( const std::vector< uint8_t > & serializedPublishingLicense)
inline

◆ PublishingLicenseInfo() [2/2]

PublishingLicenseInfo::PublishingLicenseInfo ( const std::vector< uint8_t > & serializedPreLicense,
const std::vector< uint8_t > & serializedPublishingLicense )
inline

Member Function Documentation

◆ GetConnectionInfo()

std::shared_ptr< LicenseConnectionInfo > PublishingLicenseInfo::GetConnectionInfo ( ) const
inline

◆ GetContentId()

const std::string & PublishingLicenseInfo::GetContentId ( ) const
inline

◆ GetDescriptor()

std::shared_ptr< LicenseDescriptor > PublishingLicenseInfo::GetDescriptor ( ) const
inline

◆ GetDomains()

const std::vector< std::string > & PublishingLicenseInfo::GetDomains ( ) const
inline

◆ GetDoubleKeyAlgorithm()

const std::string & PublishingLicenseInfo::GetDoubleKeyAlgorithm ( ) const
inline

◆ GetEncryptedRightsData()

const std::vector< uint8_t > & PublishingLicenseInfo::GetEncryptedRightsData ( ) const
inline

◆ GetIsDoubleKeyLicense()

bool PublishingLicenseInfo::GetIsDoubleKeyLicense ( ) const
inline

◆ GetIssuedTime()

const std::chrono::time_point< std::chrono::system_clock > & PublishingLicenseInfo::GetIssuedTime ( ) const
inline

◆ GetIssuerId()

const std::string & PublishingLicenseInfo::GetIssuerId ( ) const
inline

◆ GetLabelInfo()

const mip::LabelInfo PublishingLicenseInfo::GetLabelInfo ( ) const
inline

◆ GetOwner()

const std::string & PublishingLicenseInfo::GetOwner ( ) const
inline

◆ GetPreLicense()

const std::vector< uint8_t > & PublishingLicenseInfo::GetPreLicense ( ) const
inline

◆ GetReferralInfoUrl()

const std::string & PublishingLicenseInfo::GetReferralInfoUrl ( ) const
inline

◆ GetSealedKeyType()

const std::string & PublishingLicenseInfo::GetSealedKeyType ( ) const
inline

◆ GetSerializedPublishingLicense()

const std::vector< uint8_t > & PublishingLicenseInfo::GetSerializedPublishingLicense ( ) const
inline

◆ GetServerPublicCertificate()

const std::string & PublishingLicenseInfo::GetServerPublicCertificate ( ) const
inline

◆ GetSignedApplicationData()

const std::vector< std::shared_ptr< LicenseApplicationData > > & PublishingLicenseInfo::GetSignedApplicationData ( ) const
inline

◆ HasPreLicense()

bool PublishingLicenseInfo::HasPreLicense ( ) const
inline

◆ IsLicenseParsed()

bool PublishingLicenseInfo::IsLicenseParsed ( ) const
inline

◆ SetParsedData() [1/2]

void PublishingLicenseInfo::SetParsedData ( const std::vector< std::string > & domains,
const std::string & serverPublicCert,
const std::string & contentId,
const std::string & issuerId )
inline

◆ SetParsedData() [2/2]

void PublishingLicenseInfo::SetParsedData ( std::shared_ptr< ParsedPublishingLicense > parsedPublishingLicense)
inline

Member Data Documentation

◆ mConnectionInfo

std::shared_ptr<LicenseConnectionInfo> PublishingLicenseInfo::mConnectionInfo
private

◆ mContentId

std::string PublishingLicenseInfo::mContentId
private

◆ mDescriptor

std::shared_ptr<LicenseDescriptor> PublishingLicenseInfo::mDescriptor
private

◆ mDomains

std::vector<std::string> PublishingLicenseInfo::mDomains
private

◆ mDoubleKeyAlgorithm

std::string PublishingLicenseInfo::mDoubleKeyAlgorithm
private

◆ mEncryptedRightsData

std::vector<uint8_t> PublishingLicenseInfo::mEncryptedRightsData
private

◆ mIsParsed

bool PublishingLicenseInfo::mIsParsed
private

◆ mIssuedTime

std::chrono::time_point<std::chrono::system_clock> PublishingLicenseInfo::mIssuedTime
private

◆ mIssuerId

std::string PublishingLicenseInfo::mIssuerId
private

◆ mLabelInfo

LabelInfo PublishingLicenseInfo::mLabelInfo
private

◆ mOwner

std::string PublishingLicenseInfo::mOwner
private

◆ mPreLicense

std::vector<uint8_t> PublishingLicenseInfo::mPreLicense
private

◆ mReferralInfoUrl

std::string PublishingLicenseInfo::mReferralInfoUrl
private

◆ mSealedKeyType

std::string PublishingLicenseInfo::mSealedKeyType
private

◆ mSerializedPublishingLicense

std::vector<uint8_t> PublishingLicenseInfo::mSerializedPublishingLicense
private

◆ mServerPublicCert

std::string PublishingLicenseInfo::mServerPublicCert
private

◆ mSignedApplicationData

std::vector<std::shared_ptr<LicenseApplicationData> > PublishingLicenseInfo::mSignedApplicationData
private

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