Package org.verapdf.features.gf.objects
Class GFDocSecurityFeaturesObjectAdapter
- java.lang.Object
-
- org.verapdf.features.gf.objects.GFDocSecurityFeaturesObjectAdapter
-
- All Implemented Interfaces:
DocSecurityFeaturesObjectAdapter,FeaturesObjectAdapter
public class GFDocSecurityFeaturesObjectAdapter extends Object implements DocSecurityFeaturesObjectAdapter
Features object adapter for document security.- Author:
- Sergey Shemyakov
-
-
Constructor Summary
Constructors Constructor Description GFDocSecurityFeaturesObjectAdapter(PDEncryption encryption)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getErrors()StringgetFilter()StringgetHexEncodedOwnerKey()StringgetHexEncodedUserKey()intgetLength()StringgetSubFilter()intgetVersion()booleanisChangesAllowed()booleanisDocumentAssemblyAllowed()booleanisEncryptMetadata()booleanisExtractAccessibilityAllowed()booleanisExtractContentAllowed()booleanisFillingSigningAllowed()booleanisModifyAnnotationsAllowed()booleanisPDFObjectPresent()booleanisPrintAllowed()booleanisPrintDegradedAllowed()booleanisUserPermissionsPresent()
-
-
-
Constructor Detail
-
GFDocSecurityFeaturesObjectAdapter
public GFDocSecurityFeaturesObjectAdapter(PDEncryption encryption)
-
-
Method Detail
-
getFilter
public String getFilter()
- Specified by:
getFilterin interfaceDocSecurityFeaturesObjectAdapter
-
getSubFilter
public String getSubFilter()
- Specified by:
getSubFilterin interfaceDocSecurityFeaturesObjectAdapter
-
getVersion
public int getVersion()
- Specified by:
getVersionin interfaceDocSecurityFeaturesObjectAdapter
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceDocSecurityFeaturesObjectAdapter
-
getHexEncodedOwnerKey
public String getHexEncodedOwnerKey()
- Specified by:
getHexEncodedOwnerKeyin interfaceDocSecurityFeaturesObjectAdapter
-
getHexEncodedUserKey
public String getHexEncodedUserKey()
- Specified by:
getHexEncodedUserKeyin interfaceDocSecurityFeaturesObjectAdapter
-
isEncryptMetadata
public boolean isEncryptMetadata()
- Specified by:
isEncryptMetadatain interfaceDocSecurityFeaturesObjectAdapter
-
isUserPermissionsPresent
public boolean isUserPermissionsPresent()
- Specified by:
isUserPermissionsPresentin interfaceDocSecurityFeaturesObjectAdapter
-
isPrintAllowed
public boolean isPrintAllowed()
- Specified by:
isPrintAllowedin interfaceDocSecurityFeaturesObjectAdapter
-
isPrintDegradedAllowed
public boolean isPrintDegradedAllowed()
- Specified by:
isPrintDegradedAllowedin interfaceDocSecurityFeaturesObjectAdapter
-
isChangesAllowed
public boolean isChangesAllowed()
- Specified by:
isChangesAllowedin interfaceDocSecurityFeaturesObjectAdapter
-
isModifyAnnotationsAllowed
public boolean isModifyAnnotationsAllowed()
- Specified by:
isModifyAnnotationsAllowedin interfaceDocSecurityFeaturesObjectAdapter
-
isFillingSigningAllowed
public boolean isFillingSigningAllowed()
- Specified by:
isFillingSigningAllowedin interfaceDocSecurityFeaturesObjectAdapter
-
isDocumentAssemblyAllowed
public boolean isDocumentAssemblyAllowed()
- Specified by:
isDocumentAssemblyAllowedin interfaceDocSecurityFeaturesObjectAdapter
-
isExtractContentAllowed
public boolean isExtractContentAllowed()
- Specified by:
isExtractContentAllowedin interfaceDocSecurityFeaturesObjectAdapter
-
isExtractAccessibilityAllowed
public boolean isExtractAccessibilityAllowed()
- Specified by:
isExtractAccessibilityAllowedin interfaceDocSecurityFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()
- Specified by:
isPDFObjectPresentin interfaceFeaturesObjectAdapter
-
getErrors
public List<String> getErrors()
- Specified by:
getErrorsin interfaceFeaturesObjectAdapter
-
-