|
Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
|
Settings used to create a ProtectionHandler to protect new content. More...
#include <protection_handler.h>
Public Member Functions | |
| PublishingSettings (const std::shared_ptr< ProtectionDescriptor > &protectionDescriptor) | |
| PublishingSettings constructor for enforcing protection on content. | |
| PublishingSettings (const std::shared_ptr< ProtectionDescriptor > &protectionDescriptor, const std::vector< uint8_t > &serializedPublishingLicense) | |
| PublishingSettings constructor for online republishing. | |
| PublishingSettings (const std::shared_ptr< ProtectionDescriptor > &protectionDescriptor, const std::shared_ptr< ProtectionHandler > &protectionHandler) | |
| PublishingSettings constructor for offline republishing. | |
| std::shared_ptr< ProtectionDescriptor > | GetProtectionDescriptor () const |
| std::shared_ptr< ProtectionHandler > | GetProtectionHandlerForRepublish () const |
| Gets protection handler for republishing scenario. | |
| bool | GetIsAuditedExtractionAllowed () const |
| Gets whether or not non-MIP-aware applications are allowed to open protected content. | |
| void | SetIsAuditedExtractionAllowed (bool isAuditedExtractionAllowed) |
| Sets whether or not non-MIP-aware applications are allowed to open protected content. | |
| bool | GetIsDeprecatedAlgorithmPreferred () const |
| Gets whether or not deprecated crypto algorithm (ECB) is preferred for backwards compatibility. | |
| void | SetIsDeprecatedAlgorithmPreferred (bool isDeprecatedAlgorithmPreferred) |
| Sets whether or not deprecated crypto algorithm (ECB) is preferred for backwards compatibility. | |
| void | SetDelegatedUserEmail (const std::string &delegatedUserEmail) |
| Sets the delegated user. | |
| const std::string & | GetDelegatedUserEmail () const |
| Gets the delegated user. | |
| bool | IsPublishingFormatJson () const |
| Gets whether or not the returned pl is in json format (xml format is more widely accepted and is the default). | |
| void | SetPublishingFormatJson (bool isPublishingFormatJson) |
| Sets whether or not the returned pl is in json format (xml format is more widely accepted and is the default). | |
| bool | GetRegenerateContentKey () const |
| Gets whether or not the content key and ID should be regenerated during republishing. | |
| void | SetRegenerateContentKey (bool regenerateContentKey) |
| Sets whether or not the content key and ID should be regenerated during republishing. | |
| void | SetPreLicenseUserEmail (const std::string &preLicenseUserEmail) |
| Sets pre-license user. | |
| const std::string & | GetPreLicenseUserEmail () const |
| Gets the pre-license user. | |
| const std::vector< uint8_t > & | GetPublishingLicenseForRepublish () const |
| Gets the serialized republishing license. | |
| void | SetRequestPreLicense (std::shared_ptr< PublishingUseLicenseRequest > publishingUseLicenseRequest) |
| Setting this will cause the publishing request to include a pre-license. | |
| std::shared_ptr< PublishingUseLicenseRequest > | GetPreLicenseRequest () const |
| Gets the pre-license request. | |
| bool | GetRepairLabelIdAllowed () const |
| Gets whether or not label id can be added to publishing license on republish. | |
| void | SetRepairLabelIdAllowed (bool repairAllowed) |
| Sets whether or not label id can be added to publishing license on republish. | |
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 protect new content.
|
inline |
PublishingSettings constructor for enforcing protection on content.
| protectionDescriptor | Protection details |
|
inline |
PublishingSettings constructor for online republishing.
| protectionDescriptor | New protection details |
| serializedPublishingLicense | Original protection license |
|
inline |
PublishingSettings constructor for offline republishing.
| protectionDescriptor | New protection details |
| protectionHandler | Original protection handler |
|
inline |
Gets the delegated user.
|
inline |
Gets whether or not non-MIP-aware applications are allowed to open protected content.
|
inline |
Gets whether or not deprecated crypto algorithm (ECB) is preferred for backwards compatibility.
|
inline |
Gets the pre-license request.
|
inline |
Gets the pre-license user.
|
inline |
|
inline |
Gets protection handler for republishing scenario.
|
inline |
Gets the serialized republishing license.
|
inline |
Gets whether or not the content key and ID should be regenerated during republishing.
|
inline |
Gets whether or not label id can be added to publishing license on republish.
|
inline |
Gets whether or not the returned pl is in json format (xml format is more widely accepted and is the default).
|
inline |
Sets the delegated user.
| delegatedUserEmail | the delegation email. |
|
inline |
Sets whether or not non-MIP-aware applications are allowed to open protected content.
| isAuditedExtractionAllowed | If non-MIP-aware applications are allowed to open protected content |
|
inline |
Sets whether or not deprecated crypto algorithm (ECB) is preferred for backwards compatibility.
| isDeprecatedAlgorithmPreferred | if deprectated crypto algorithm is preferred |
|
inline |
Sets pre-license user.
| preLicenseUserEmail | Pre-license user |
|
inline |
Sets whether or not the returned pl is in json format (xml format is more widely accepted and is the default).
| isPublishingFormatJson | if json format is enabled. |
|
inline |
Sets whether or not the content key and ID should be regenerated during republishing.
| regenerateContentKey | If the content key and ID should be regenerated. |
|
inline |
Sets whether or not label id can be added to publishing license on republish.
| repairAllowed | if label info data in protection descriptor can be added to publishing license |
|
inline |
Setting this will cause the publishing request to include a pre-license.
| publishingUseLicenseRequest | The pre-license request |