|
Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
|
A file Containing the common types used by the upe, file and protection modules. More...
#include <cstring>#include <exception>#include <map>#include <memory>#include <string>#include <unordered_map>#include <vector>#include "mip/mip_namespace.h"Go to the source code of this file.
Classes | |
| struct | UniqueIdsAndContentFormats |
| class | Identity |
| Abstraction for identity. More... | |
| class | AuthDelegate |
| Delegate for auth related operations. More... | |
| class | AuthDelegate::OAuth2Challenge |
| a class that contains all the information required from the calling application in order to generate an oauth2 token. More... | |
| class | AuthDelegate::OAuth2Token |
| A class containing access token info provided by an application. More... | |
| class | ConsentDelegate |
| Delegate for consent related operations. More... | |
| struct | ApplicationInfo |
| A struct that includes application specific information. More... | |
| class | AsyncControl |
| Class used to cancel async operation. More... | |
Typedefs | |
| typedef LabelFilterType | FunctionalityFilterType |
| Name change within the cpp workspace to imply the filters has greater scope than just label behavior. Avoided changing name fully to prevent breaking on client operations. | |
| typedef std::map< mip::Classifier, UniqueIdsAndContentFormats > | ClassifierUniqueIdsAndContentFormats |
Enumerations | |
| enum class | WatermarkLayout : unsigned int { HORIZONTAL = 0 , DIAGONAL = 1 } |
| Layout for watermarks. More... | |
| enum class | ContentMarkAlignment : unsigned int { LEFT = 0 , RIGHT = 1 , CENTER = 2 } |
| Alignment for content marks (content header or content footer). More... | |
| enum class | AssignmentMethod : unsigned int { STANDARD = 0 , PRIVILEGED = 1 , AUTO = 2 } |
| The assignment method of the label on the document. Whether the Assignment of the label was done automatically, standard or as a privileged operation (The equivalent to an administrator operation). More... | |
| enum class | ActionSource : unsigned int { MANUAL , AUTOMATIC , RECOMMENDED , DEFAULT } |
| defines what triggered the SetLabel event More... | |
| enum class | DataState : unsigned int { REST , MOTION , USE } |
| Defines what state of the data is the application acting upon. More... | |
| enum | LabelFilterType : unsigned int { None = 0 , CustomProtection = 1 << 0 , TemplateProtection = 1 << 1 , DoNotForwardProtection = 1 << 2 , AdhocProtection = 1 << 3 , HyokProtection = 1 << 4 , PredefinedTemplateProtection = 1 << 5 , DoubleKeyProtection = 1 << 6 , DoubleKeyUserDefinedProtection = 1 << 7 , EncryptOnlyProtection = 1 << 8 , SensitiveInformationClassifier = 1 << 9 , MachineLearningClassifier = 1 << 10 , ExtendedSensitiveInformationClassifier = 1 << 11 } |
| Label filter types, optional set of properties that can be used to filter labels or label behavior when calling list sensitivity labels or autoclassifying data. More... | |
| enum class | FeatureId : unsigned int { EncryptOnly } |
| Defines new features by name. More... | |
| enum class | VariableTextMarkingType : unsigned int { Default = 0 , PassThrough = 1 , None = 2 } |
| various dynamic fields can be set into the text message of the application Some known: ${Item.Label} ${Item.Name} ${Item.Location} ${User.Name} ${User.PrincipalName} ${Event.DateTime} Others are still not defined: The sdk will replace them with correct values using these control flags. More... | |
| enum class | Classifier : unsigned int { SensitiveInformation = 0 , MachineLearning = 1 , ExtendedSensitiveInformation = 2 } |
| The type of classification the application should be running on the data to determine autolabeling status. More... | |
| enum class | Workload : unsigned int { Office = 0 , Purview = 1 } |
| The workload the application is working on, used primary to check for consent. More... | |
| enum class | Consent : unsigned int { AcceptAlways , Accept , Reject } |
| A user's response when consent is requested to connect to a service endpoint. More... | |
| enum class | CacheStorageType : unsigned int { InMemory = 0 , OnDisk = 1 , OnDiskEncrypted = 2 } |
| Storage type for the caches. More... | |
| enum class | PFileExtensionBehavior { Default = 0 , PFileSuffix = 1 , PPrefix = 2 } |
| Describes PFile extensions behavior. More... | |
| enum class | Cloud { Unknown = 0 , Custom = 1 , Test = 2 , Commercial = 3 , Germany = 4 , US_DoD = 5 , US_GCC = 6 , US_GCC_High = 7 , US_Sec = 8 , US_Nat = 9 , China_01 = 10 } |
| Azure cloud identifier. More... | |
| enum class | DataBoundary { Default = 0 , United_States = 1 , North_America = 1 , European_Union = 2 , Germany = 3 , Europe_MiddleEast_Africa = 3 , Japan = 4 , Asia = 4 , Australia = 5 } |
| Diagnostic region identifier. More... | |
Functions | |
| const std::string & | GetFileContentFormat () |
| const std::string & | GetEmailContentFormat () |
| FunctionalityFilterType | operator| (FunctionalityFilterType firstFilter, FunctionalityFilterType secondFilter) |
| FunctionalityFilterType | operator& (FunctionalityFilterType firstFilter, FunctionalityFilterType secondFilter) |
| FunctionalityFilterType | operator~ (FunctionalityFilterType filter) |
| std::string | GetAssignmentMethodString (AssignmentMethod method) |
| Converts AssignmentMethod enum to a string description. | |
| static std::string | GetActionSourceString (ActionSource actionSource) |
| Get the action source name. | |
| static std::string | GetDataStateString (DataState state) |
| Get the content state name. | |
| const std::string & | GetSqliteExtension () |
| const std::string & | GetMemoryDatabasePath () |
| constexpr const char * | GetCustomSettingPolicyDataName () |
| Name of the setting to explicitly specify policy data. | |
| constexpr const char * | GetCustomSettingExportPolicyFileName () |
| Name of the setting to explicitly specify file path to export SCC policy data to. | |
| constexpr const char * | GetCustomSettingSensitivityTypesDataName () |
| Name of the setting to explicitly specify sensitivity data. | |
| constexpr const char * | GetCustomSettingPolicyDataFile () |
| Name of the setting to explicitly specify policy data file path. | |
| constexpr const char * | GetCustomSettingSensitivityTypesDataFile () |
| Name of the setting to explicitly specify sensitivity types data file path. | |
| constexpr const char * | GetCustomSettingLabelCustomPropertiesSyncEnabled () |
| Name of the setting that allows to enable label by custom properties and custom properties by label features. | |
| constexpr const char * | GetCustomSettingPolicyTtlDays () |
| Name of the setting that enables overriding policy ttl in days be default it will be 30 days. Values should be set as string integers i < 0 means infinite time to live. | |
| constexpr const char * | GetCustomSettingSensitivityPolicyTtlDays () |
| Name of the setting that enables overriding sensitivity policy ttl in days be default it will be 30 days. Values should be set as string integers i < 0 means infinite time to live. | |
A file Containing the common types used by the upe, file and protection modules.
| typedef std::map<mip::Classifier, UniqueIdsAndContentFormats> ClassifierUniqueIdsAndContentFormats |
Name change within the cpp workspace to imply the filters has greater scope than just label behavior. Avoided changing name fully to prevent breaking on client operations.
|
strong |
|
strong |
The assignment method of the label on the document. Whether the Assignment of the label was done automatically, standard or as a privileged operation (The equivalent to an administrator operation).
| Enumerator | |
|---|---|
| STANDARD | Label assignment method is standard |
| PRIVILEGED | Label assignment method is privileged |
| AUTO | Label assignment method is automatic |
|
strong |
|
strong |
|
strong |
Azure cloud identifier.
|
strong |
|
strong |
|
strong |
Diagnostic region identifier.
|
strong |
Defines what state of the data is the application acting upon.
|
strong |
| enum LabelFilterType : unsigned int |
Label filter types, optional set of properties that can be used to filter labels or label behavior when calling list sensitivity labels or autoclassifying data.
|
strong |
|
strong |
various dynamic fields can be set into the text message of the application Some known: ${Item.Label} ${Item.Name} ${Item.Location} ${User.Name} ${User.PrincipalName} ${Event.DateTime} Others are still not defined: The sdk will replace them with correct values using these control flags.
| Enumerator | |
|---|---|
| Default | Known markings are converted unknown marking are removed |
| PassThrough | Known markings are converted unknown marking are passed through |
| None | All markings are passed through |
|
strong |
|
strong |
|
inlinestatic |
Get the action source name.
| actionSource | The action source. |
|
inline |
Converts AssignmentMethod enum to a string description.
| method | an assignment method. |
|
inlineconstexpr |
Name of the setting to explicitly specify file path to export SCC policy data to.
|
inlineconstexpr |
Name of the setting that allows to enable label by custom properties and custom properties by label features.
|
inlineconstexpr |
Name of the setting to explicitly specify policy data file path.
|
inlineconstexpr |
Name of the setting to explicitly specify policy data.
|
inlineconstexpr |
Name of the setting that enables overriding policy ttl in days be default it will be 30 days. Values should be set as string integers i < 0 means infinite time to live.
|
inlineconstexpr |
Name of the setting that enables overriding sensitivity policy ttl in days be default it will be 30 days. Values should be set as string integers i < 0 means infinite time to live.
|
inlineconstexpr |
Name of the setting to explicitly specify sensitivity types data file path.
|
inlineconstexpr |
Name of the setting to explicitly specify sensitivity data.
|
inlinestatic |
Get the content state name.
| actionSource | The state of the content being worked upon. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |