|
virtual bool | DoesAllowOfflineAccess () const =0 |
| Gets if protection allows offline content access or not.
|
|
virtual bool | DoesContentExpire () const =0 |
| Checks if content has an expiration time or not.
|
|
virtual std::string | GetContentId () const =0 |
| Gets the Content ID, if any.
|
|
virtual std::chrono::time_point< std::chrono::system_clock > | GetContentValidUntil () const =0 |
| Gets protection expiration time.
|
|
virtual std::string | GetDescription () const =0 |
| Gets protection description.
|
|
virtual std::string | GetDoubleKeyUrl () const =0 |
| Gets the double key url to be used for custom protection.
|
|
virtual std::shared_ptr< const DynamicWatermark > | GetDynamicWatermark () const =0 |
| Gets the dynamic watermark configured for this content if any.
|
|
virtual std::map< std::string, std::string > | GetEncryptedAppData () const =0 |
| Gets app-specific data that was encrypted.
|
|
virtual std::string | GetLabelId () const =0 |
| Gets the label ID, if any.
|
|
virtual LabelInfo | GetLabelInfo () const =0 |
| Gets the label Info, if any.
|
|
virtual std::string | GetName () const =0 |
| Gets protection name.
|
|
virtual std::string | GetOwner () const =0 |
| Gets owner for the protection.
|
|
virtual ProtectionType | GetProtectionType () const =0 |
| Gets type of protection, whether it originated from protection SDK template or not.
|
|
virtual std::string | GetReferrer () const =0 |
| Gets protection referrer address.
|
|
virtual std::shared_ptr< const std::vector< uint8_t > > | GetSerializedTemplate () const =0 |
| Gets the serialized template, if any.
|
|
virtual std::map< std::string, std::string > | GetSignedAppData () const =0 |
| Gets the app-specific data that was signed.
|
|
virtual std::string | GetTemplateId () const =0 |
| Gets the protection template ID, if any.
|
|
virtual std::vector< UserRights > | GetUserRights () const =0 |
| Gets collection of users-to-rights mappings.
|
|
virtual std::vector< UserRoles > | GetUserRoles () const =0 |
| Gets collection of users-to-roles mappings.
|
|
Description of protection associated with a piece of content.
Definition at line 72 of file protection_descriptor.h.