The rights related information of the publishing license.
More...
#include <license_rights_data.h>
The rights related information of the publishing license.
◆ LicenseRightsData()
LicenseRightsData::LicenseRightsData |
( |
const ProtectionType | type, |
|
|
const std::vector< DirectoryObjectRights > & | directoryObjectsRights, |
|
|
const std::chrono::time_point< std::chrono::system_clock > & | contentValidUntil ) |
|
inline |
LicenseRightsData constructor.
- Parameters
-
type | The type of protection, whether it originated from protection SDK template or not |
directoryObjectsRights | The set of directory objects and the rights associated with them |
contentValidUtil | Protection expiration time |
◆ DoesContentExpire()
bool LicenseRightsData::DoesContentExpire |
( |
| ) |
|
|
inline |
Checks if content has an expiration time or not.
- Returns
- True if content can expire, else false
◆ GetContentValidUntil()
const std::chrono::time_point< std::chrono::system_clock > LicenseRightsData::GetContentValidUntil |
( |
| ) |
const |
|
inline |
Gets protection expiration time.
- Returns
- Protection expiration time
◆ GetDirectoryObjectsRights()
Gets the set of directory objects and the rights associated with them.
- Returns
- The set of directory objects and the rights associated with them
◆ GetProtectionType()
Gets type of protection, whether it originated from protection SDK template or not.
- Returns
- Type of protection
◆ mContentValidUntil
std::chrono::time_point<std::chrono::system_clock> LicenseRightsData::mContentValidUntil |
|
private |
◆ mDirectoryObjectsRights
◆ mType
The documentation for this class was generated from the following file: