|
Microsoft Information Protection (MIP) SDK for C++: Reference 1.16
Doxygen-generated documentation for MIP SDK written in C++
|
Settings used to create a ProtectionHandler to consume existing content. More...
#include <src/api/mip/protection/protection_handler.h>


Public Member Functions | |
| MIP_API void | AddRmsCapability (const std::string &capability) |
| Add a capability which will be passed along to RMS when fetching usage rights. | |
| ConsumptionSettings (const std::shared_ptr< PublishingLicenseInfo > &licenseInfo) | |
| 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::vector< uint8_t > &serializedPublishingLicense) | |
| ProtectionHandler::ConsumptionSettings constructor for creating a new handler. | |
| std::string | GetApplicationScenarioId () const |
| Gets the scenario Id provided by the application which is used to correlation with the server. | |
| const std::string & | GetContentName () const |
| Gets the content name to register with document tracking. | |
| const std::vector< std::pair< std::string, std::string > > & | GetCustomSettings () const |
| Get the custom settings, used for feature gating and testing. | |
| const std::string & | GetDelegatedUserEmail () const |
| Gets the delegated user. | |
| bool | GetIsOfflineOnly () const |
| Gets whether or not ProtectionEngine operation allows for online HTTP operations. | |
| std::shared_ptr< PublishingLicenseInfo > | GetPublishingLicenseInfo () const |
| Get the publishing license associated with the protected content. | |
| const std::shared_ptr< std::vector< std::string > > | GetRmsCapabilities () const |
| The the full set of client capabilities supported when fetching usage rights from RMS. | |
| MIP_API bool | RemoveRmsCapability (const std::string &capability) |
| Remove one of the added usage rights capabilities which get passed to RMS. | |
| void | SetApplicationScenarioId (std::string applicationScenarioId) |
| Sets the scenario Id provided by the application. | |
| void | SetContentName (const std::string &contentName) |
| Defines the content name to register with document tracking. | |
| void | SetCustomSettings (const std::vector< std::pair< std::string, std::string > > &customSettings) |
| Set the custom settings, used for feature gating and testing. | |
| void | SetDelegatedUserEmail (const std::string &delegatedUserEmail) |
| Sets the delegated user. | |
| virtual void | SetIsOfflineOnly (bool isOfflineOnly) |
| Sets whether or not ProtectionEngine operation allows for online HTTP operations. | |
Settings used to create a ProtectionHandler to consume existing content.
Definition at line 111 of file protection_handler.h.
|
inline |
ProtectionHandler::ConsumptionSettings constructor for creating a new handler.
| serializedPublishingLicense | Serialized publishing license from protected content |
Definition at line 118 of file protection_handler.h.
|
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 |
Definition at line 127 of file protection_handler.h.
|
inline |
ProtectionHandler::ConsumptionSettings constructor for creating a new handler.
| licenseInfo | Publishing license info from protected content |
Definition at line 140 of file protection_handler.h.
| 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 |
|
inlineinherited |
Gets the scenario Id provided by the application which is used to correlation with the server.
Definition at line 57 of file protection_common_settings.h.
|
inline |
Gets the content name to register with document tracking.
Definition at line 184 of file protection_handler.h.
|
inlineinherited |
Get the custom settings, used for feature gating and testing.
Definition at line 108 of file protection_common_settings.h.
|
inline |
Gets the delegated user.
Definition at line 168 of file protection_handler.h.
|
inlineinherited |
Gets whether or not ProtectionEngine operation allows for online HTTP operations.
Definition at line 79 of file protection_common_settings.h.
|
inline |
Get the publishing license associated with the protected content.
Definition at line 148 of file protection_handler.h.
|
inline |
The the full set of client capabilities supported when fetching usage rights from RMS.
Definition at line 211 of file protection_handler.h.
| 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. |
|
inlineinherited |
Sets the scenario Id provided by the application.
| The | application scenario Id |
Definition at line 66 of file protection_common_settings.h.
|
inline |
Defines the content name to register with document tracking.
| contentName | The identifier to register content under. |
Definition at line 177 of file protection_handler.h.
|
inlineinherited |
Set the custom settings, used for feature gating and testing.
| customSettings | List of name/value pairs. |
Definition at line 99 of file protection_common_settings.h.
|
inline |
Sets the delegated user.
| delegatedUserEmail | the delegation email. |
Definition at line 159 of file protection_handler.h.
|
inlinevirtualinherited |
Sets whether or not ProtectionEngine operation allows for online HTTP operations.
| isOfflineOnly | True if HTTP operations are disallowed, else false |
Definition at line 92 of file protection_common_settings.h.