|
Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
|
Settings used to create a ProtectionHandler to consume existing content. More...
#include <protection_handler.h>
Public Member Functions | |
| ConsumptionSettings (const std::vector< uint8_t > &serializedPublishingLicense) | |
| ProtectionHandler::ConsumptionSettings constructor for creating a new handler. | |
| ConsumptionSettings (const std::vector< uint8_t > &serializedPreLicense, const std::vector< uint8_t > &serializedPublishingLicense) | |
| ProtectionHandler::ConsumptionSettings constructor for creating a new handler. | |
| ConsumptionSettings (const std::shared_ptr< PublishingLicenseInfo > &licenseInfo) | |
| ProtectionHandler::ConsumptionSettings constructor for creating a new handler. | |
| std::shared_ptr< PublishingLicenseInfo > | GetPublishingLicenseInfo () const |
| Get the publishing license associated with the protected content. | |
| void | SetDelegatedUserEmail (const std::string &delegatedUserEmail) |
| Sets the delegated user. | |
| const std::string & | GetDelegatedUserEmail () const |
| Gets the delegated user. | |
| void | SetContentName (const std::string &contentName) |
| Defines the content name to register with document tracking. | |
| const std::string & | GetContentName () const |
| Gets the content name to register with document tracking. | |
| MIP_API void | AddRmsCapability (const std::string &capability) |
| Add a capability which will be passed along to RMS when fetching usage rights. | |
| MIP_API bool | RemoveRmsCapability (const std::string &capability) |
| Remove one of the added usage rights capabilities which get passed to RMS. | |
| const std::shared_ptr< std::vector< std::string > > | GetRmsCapabilities () const |
| The the full set of client capabilities supported when fetching usage rights from RMS. | |
Public Member Functions inherited from ProtectionCommonSettings | |
| ProtectionCommonSettings (std::string applicationScenarioId=std::string()) | |
| std::string | GetApplicationScenarioId () const |
| Gets the scenario Id provided by the application which is used to correlation with the server. | |
| void | SetApplicationScenarioId (std::string applicationScenarioId) |
| Sets the scenario Id provided by the application. | |
| bool | GetIsOfflineOnly () const |
| Gets whether or not ProtectionEngine operation allows for online HTTP operations. | |
| virtual void | SetIsOfflineOnly (bool isOfflineOnly) |
| Sets whether or not ProtectionEngine operation allows for online HTTP operations. | |
| void | SetCustomSettings (const std::vector< std::pair< std::string, std::string > > &customSettings) |
| Set the custom settings, used for feature gating and testing. | |
| const std::vector< std::pair< std::string, std::string > > & | GetCustomSettings () const |
| Get the custom settings, used for feature gating and testing. | |
Settings used to create a ProtectionHandler to consume existing content.
|
inline |
ProtectionHandler::ConsumptionSettings constructor for creating a new handler.
| serializedPublishingLicense | Serialized publishing license from protected content |
|
inline |
ProtectionHandler::ConsumptionSettings constructor for creating a new handler.
| serializedPreLicense | Serialized pre license from attached to the content. |
| serializedPublishingLicense | Serialized publishing license from protected content |
|
inline |
ProtectionHandler::ConsumptionSettings constructor for creating a new handler.
| licenseInfo | Publishing license info from protected content |
| MIP_API void ProtectionHandler::ConsumptionSettings::AddRmsCapability | ( | const std::string & | capability | ) |
Add a capability which will be passed along to RMS when fetching usage rights.
| capability | An identifier that describes a capability that RMS supports |
|
inline |
Gets the content name to register with document tracking.
|
inline |
Gets the delegated user.
|
inline |
Get the publishing license associated with the protected content.
|
inline |
The the full set of client capabilities supported when fetching usage rights from RMS.
| MIP_API bool ProtectionHandler::ConsumptionSettings::RemoveRmsCapability | ( | const std::string & | capability | ) |
Remove one of the added usage rights capabilities which get passed to RMS.
| capability | The capability which should be removed. |
|
inline |
Defines the content name to register with document tracking.
| contentName | The identifier to register content under. |
|
inline |
Sets the delegated user.
| delegatedUserEmail | the delegation email. |