Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
protection_action_data.h
Go to the documentation of this file.
1#ifndef UPE_CORE_API_DTO_PROTECTION_ACTION_DATA_H_
2#define UPE_CORE_API_DTO_PROTECTION_ACTION_DATA_H_
3
4#include <string>
5
6#include "mip/mip_namespace.h"
8
9MIP_NAMESPACE_BEGIN
10
11enum class ProtectionActionType : unsigned int {
12 None, // No protection enum for default evaluation.
13 Custom, // Unkown protection type, pass through to sdk.
14 Template, // Template protection, template Id is expected to be populated.
15 DoNotForward, // Currently supported when "userdefined", DoNotForward=true. Mutually exclusive with EO.
16 Adhoc, // Currently supported when "userdefined", promptuser=false.
17 DoNotForwardWithPrompt, // Currently when DoNotForward and Adhoc protection is defined, forces prompt for DNF.
18 Hyok, // "Hyok" currently not supported
19 PredefinedTemplate, // "predefinedtemplate" currently not supported
20 RemoveProtection, // Explicit removeprotection type.
21 EncryptOnly, // Supported when "userdefined", EncryptOnly=true. Mutially exclusive with DNF.
22 EncryptOnlyWithPrompt, // Currently when EncryptOnly and Adhoc protection is defined, forces prompt for EO.
23};
24
26public:
28 virtual const std::string& GetTemplateId() const = 0;
29 virtual const std::string& GetDoubleKeyEncryptionUrl() const = 0;
31};
32
33MIP_NAMESPACE_END
34
35#endif // UPE_CORE_API_DTO_PROTECTION_ACTION_DATA_H_
Definition action_data.h:23
Definition protection_action_data.h:25
virtual ~ProtectionActionData()
Definition protection_action_data.h:30
virtual ProtectionActionType GetProtectionType() const =0
virtual const std::string & GetDoubleKeyEncryptionUrl() const =0
virtual const std::string & GetTemplateId() const =0
MIP namespace macros.
ProtectionActionType
Definition protection_action_data.h:11