12345678910111213141516171819202122232425262728293031323334353637383940 |
- package com.aip.gateway.api.aip.model;
- import lombok.AllArgsConstructor;
- import lombok.Builder;
- import lombok.Data;
- import lombok.NoArgsConstructor;
- @Data
- @NoArgsConstructor
- @AllArgsConstructor
- @Builder
- public class AipProtection {
- private AipProtectionDescriptor protectionDescriptor;
- /// <summary>Email address of content owner</summary>
- private String owner;
- /// <summary>The user associated with the protection handler</summary>
- private String issuedTo;
- /// <summary>Whether or not the current user is the content owner</summary>
- private boolean isIssuedToOwner;
- /// <summary>
- /// The unique identifier for the document/content
- /// Publishing licenses will have this identifier surrounded by curly braces "{}".
- /// Those braces are removed from the value returned here
- /// </summary>
- private String contentId;
- /// <summary> Whether or not protection handler uses deprecated crypto algorithms (ECB) for backward compatibility </summary>
- private boolean useDeprecatedAlgorithms;
- /// <summary> Whether or not protection handler grants user 'audited extract' right </summary>
- private boolean auditedExtractAllowed;
- /// <summary> The block size (in bytes) for the cipher mode used by this ProtectionHandler </summary>
- private long blockSize;
- }
|