Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
DelegationLicense Class Referenceabstract

#include <src/api/mip/protection/delegation_license.h>

Public Member Functions

virtual const std::vector< uint8_t > & GetSerializedDelegationJsonLicense ()=0
 Gets the delegation license in Json format.
 
virtual const std::vector< uint8_t > & GetSerializedDelegationXrmlLicense ()=0
 Gets the delegation license in Xrml format.
 
virtual const std::vector< uint8_t > & GetSerializedUserLicense (ProtectionHandler::PreLicenseFormat format)=0
 Gets the user license, if requested.
 
virtual const std::string & GetUser ()=0
 Gets the user that this license was created for.
 

Detailed Description

Definition at line 43 of file delegation_license.h.

Member Function Documentation

◆ GetSerializedDelegationJsonLicense()

virtual const std::vector< uint8_t > & DelegationLicense::GetSerializedDelegationJsonLicense ( )
pure virtual

Gets the delegation license in Json format.

Returns
Serialized license
Note
This license is bound to the identity of the user that made the request

◆ GetSerializedDelegationXrmlLicense()

virtual const std::vector< uint8_t > & DelegationLicense::GetSerializedDelegationXrmlLicense ( )
pure virtual

Gets the delegation license in Xrml format.

Returns
Serialized license
Note
This license is bound to the identity of the user that made the request

◆ GetSerializedUserLicense()

virtual const std::vector< uint8_t > & DelegationLicense::GetSerializedUserLicense ( ProtectionHandler::PreLicenseFormat format)
pure virtual

Gets the user license, if requested.

Parameters
formatLicense format
Returns
Serialized user license if requested, otherwise empty vector
Note
This license is bound to the delegated user in the request

◆ GetUser()

virtual const std::string & DelegationLicense::GetUser ( )
pure virtual

Gets the user that this license was created for.

Returns
The user

The documentation for this class was generated from the following file: