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
"
7
#include "
mip/upe/core/dto/action_data.h
"
8
9
MIP_NAMESPACE_BEGIN
10
11
enum 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
25
class
ProtectionActionData
:
public
ActionData
{
26
public
:
27
virtual
ProtectionActionType
GetProtectionType
()
const
= 0;
28
virtual
const
std::string&
GetTemplateId
()
const
= 0;
29
virtual
const
std::string&
GetDoubleKeyEncryptionUrl
()
const
= 0;
30
virtual
~ProtectionActionData
() {}
31
};
32
33
MIP_NAMESPACE_END
34
35
#endif
// UPE_CORE_API_DTO_PROTECTION_ACTION_DATA_H_
action_data.h
ActionData
Definition
action_data.h:23
ProtectionActionData
Definition
protection_action_data.h:25
ProtectionActionData::~ProtectionActionData
virtual ~ProtectionActionData()
Definition
protection_action_data.h:30
ProtectionActionData::GetProtectionType
virtual ProtectionActionType GetProtectionType() const =0
ProtectionActionData::GetDoubleKeyEncryptionUrl
virtual const std::string & GetDoubleKeyEncryptionUrl() const =0
ProtectionActionData::GetTemplateId
virtual const std::string & GetTemplateId() const =0
mip_namespace.h
MIP namespace macros.
ProtectionActionType
ProtectionActionType
Definition
protection_action_data.h:11
ProtectionActionType::DoNotForwardWithPrompt
@ DoNotForwardWithPrompt
ProtectionActionType::EncryptOnlyWithPrompt
@ EncryptOnlyWithPrompt
ProtectionActionType::Template
@ Template
ProtectionActionType::EncryptOnly
@ EncryptOnly
ProtectionActionType::None
@ None
ProtectionActionType::Hyok
@ Hyok
ProtectionActionType::Custom
@ Custom
ProtectionActionType::Adhoc
@ Adhoc
ProtectionActionType::DoNotForward
@ DoNotForward
ProtectionActionType::RemoveProtection
@ RemoveProtection
ProtectionActionType::PredefinedTemplate
@ PredefinedTemplate
mip-sdk-for-cpp
src
api
mip
upe
core
dto
protection_action_data.h
Generated by
1.12.0