Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
|
Interface that receives notifications related to ProtectionEngine. More...
#include <src/api/mip/protection/protection_engine.h>
Public Member Functions | |
virtual void | OnCreateDelegatedLicensesFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
Called when create delegated license fails. | |
virtual void | OnCreateDelegatedLicensesSuccess (std::vector< std::shared_ptr< DelegationLicense > > delegatedLicenses, const std::shared_ptr< void > &context) |
Called when create delegated license is successful. | |
virtual void | OnGetLicenseRightsDataFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
Called when retrieving license rights data fails. | |
virtual void | OnGetLicenseRightsDataSuccess (const std::shared_ptr< LicenseRightsData > &licenseRightsData, const std::shared_ptr< void > &context) |
Called when license rights data were retrieved successfully. | |
virtual void | OnGetRightsForLabelIdFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
Called when retrieving rights for a label ID for the user. | |
virtual void | OnGetRightsForLabelIdSuccess (const std::shared_ptr< std::vector< std::string > > &rights, const std::shared_ptr< void > &context) |
Called when rights were retrieved successfully. | |
virtual void | OnGetTemplatesFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
Called when retrieving templates generated an error. | |
virtual void | OnGetTemplatesSuccess (const std::vector< std::shared_ptr< TemplateDescriptor > > &templateDescriptors, const std::shared_ptr< void > &context) |
Called when templates were retrieved successfully. | |
virtual void | OnGetTenantInformationAsyncFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
Called when GetTenantInformationAsync fails. | |
virtual void | OnGetTenantInformationAsyncSuccess (const std::shared_ptr< TenantInformation > &tenantInformation, const std::shared_ptr< void > &context) |
Called when GetTenantInformationAsync is successful. | |
virtual void | OnLoadUserCertFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
Called when user cert loaded failed. | |
virtual void | OnLoadUserCertSuccess (const std::shared_ptr< void > &context) |
Called when user cert loaded successfully. | |
virtual void | OnRegisterContentForTrackingAndRevocationFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
Called when registration of content for tracking & revocation fails. | |
virtual void | OnRegisterContentForTrackingAndRevocationSuccess (const std::shared_ptr< void > &context) |
Called when registration of content for tracking & revocation is successful. | |
virtual void | OnRevokeContentFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
Called when revocation of content is fails. | |
virtual void | OnRevokeContentSuccess (const std::shared_ptr< void > &context) |
Called when revocation of is successful. | |
Interface that receives notifications related to ProtectionEngine.
Definition at line 81 of file protection_engine.h.
|
inlinevirtual |
Called when create delegated license fails.
error | Error that occurred |
context | The same context that was passed to ProtectionEngine::CreateDelegationLicensesAsync |
Definition at line 240 of file protection_engine.h.
|
inlinevirtual |
Called when create delegated license is successful.
context | The same context that was passed to ProtectionEngine::CreateDelegationLicensesAsync |
Definition at line 226 of file protection_engine.h.
|
inlinevirtual |
Called when retrieving license rights data fails.
error | Error that occurred while retrieving license rights data |
context | The same context that was passed to ProtectionEngine::GetLicenseRightsDataAsync |
Definition at line 295 of file protection_engine.h.
|
inlinevirtual |
Called when license rights data were retrieved successfully.
rights | A reference to the license rights data retrieved |
context | The same context that was passed to ProtectionEngine::GetLicenseRightsDataAsync |
Definition at line 281 of file protection_engine.h.
|
inlinevirtual |
Called when retrieving rights for a label ID for the user.
error | Error that occurred while retrieving rights |
context | The same context that was passed to ProtectionEngine::GetRightsForLabelIdAsync |
Definition at line 135 of file protection_engine.h.
|
inlinevirtual |
Called when rights were retrieved successfully.
rights | A reference to the list of rights retrieved |
context | The same context that was passed to ProtectionEngine::GetRightsForLabelIdAsync |
Definition at line 121 of file protection_engine.h.
|
inlinevirtual |
Called when retrieving templates generated an error.
error | Error that occurred while retrieving templates |
context | The same context that was passed to ProtectionEngine::GetTemplatesAsync |
Definition at line 107 of file protection_engine.h.
|
inlinevirtual |
Called when templates were retrieved successfully.
templateDescriptors | A reference to the list of templates descriptors |
context | The same context that was passed to ProtectionEngine::GetTemplatesAsync |
Definition at line 93 of file protection_engine.h.
|
inlinevirtual |
Called when GetTenantInformationAsync fails.
error | Error that occurred |
context | The same context that was passed to ProtectionEngine::GetTenantInformationAsync |
Definition at line 267 of file protection_engine.h.
|
inlinevirtual |
Called when GetTenantInformationAsync is successful.
context | The same context that was passed to ProtectionEngine::GetTenantInformationAsync |
Definition at line 253 of file protection_engine.h.
|
inlinevirtual |
Called when user cert loaded failed.
error | Error that occurred while retrieving rights |
context | The same context that was passed to ProtectionEngine::LoadUserCert |
Definition at line 161 of file protection_engine.h.
|
inlinevirtual |
Called when user cert loaded successfully.
context | The same context that was passed to ProtectionEngine::LoadUserCert |
Definition at line 148 of file protection_engine.h.
|
inlinevirtual |
Called when registration of content for tracking & revocation fails.
error | Error that occurred while registering content |
context | The same context that was passed to ProtectionEngine::RegisterContentForTrackingAndRevocationAsync |
Definition at line 187 of file protection_engine.h.
|
inlinevirtual |
Called when registration of content for tracking & revocation is successful.
context | The same context that was passed to ProtectionEngine::RegisterContentForTrackingAndRevocationAsync |
Definition at line 174 of file protection_engine.h.
|
inlinevirtual |
Called when revocation of content is fails.
error | Error that occurred while revoking content |
context | The same context that was passed to ProtectionEngine::RevokeContentAsync |
Definition at line 213 of file protection_engine.h.
|
inlinevirtual |
Called when revocation of is successful.
context | The same context that was passed to ProtectionEngine::RevokeContentAsync |
Definition at line 200 of file protection_engine.h.