|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.pdf.elements.Security
public class Security
Encapsulates information used in pdf Security.
Constructor Summary | |
---|---|
Security()
Initializes a new instance of the Security class. |
Method Summary | |
---|---|
java.lang.String |
getMasterPass()
Gets a string that indicates the master password used in pdf encryption. |
int |
getPermissions()
|
java.lang.String |
getUserPass()
Gets a string that indicates the user password used in pdf encryption. |
boolean |
Is128BitsEncrypted()
Gets a bool value that indicates whether the Pdf documents will be 128 bits or 40 bits encrypted. |
boolean |
isAnnotationsModifyingAllowed()
Gets a bool value that indicates whether adding or modifying text annotations is allowed. |
boolean |
isContentsModifyingAllowed()
Gets a bool value that indicates whether modifying contents is allowed. |
boolean |
isCopyingAllowed()
Gets a bool value that indicates whether copying or otherwise extracting text and graphics from the document is allowed. |
boolean |
isDegradedPrintingAllowed()
Gets a bool value that indicates whether printing in low resolution is allowed. |
boolean |
isDocumentAssemblyingAllowed()
Gets a bool value that indicates whether assembling the document is allowed. |
boolean |
isFormFillingAllowed()
Gets a bool value that indicates whether filling in forms and signing the document is allowed. |
boolean |
isPrintingAllowed()
Gets a bool value that indicates whether printing is allowed. |
boolean |
isScreenReadersAllowed()
Gets a bool value that indicates whether screen readers is allowed. |
Security |
Set128BitsEncrypted(boolean bits128)
Sets a bool value that indicates whether the Pdf documents will be 128 bits or 40 bits encrypted. |
Security |
setAnnotationsModifyingAllowed(boolean allowModifyingAnnotations)
Sets or sets a bool value that indicates whether adding or modifying text annotations is allowed. |
Security |
setContentsModifyingAllowed(boolean allowModifyingContents)
Sets a bool value that indicates whether modifying contents is allowed. |
Security |
setCopyingAllowed(boolean allowCopying)
Sets a bool value that indicates whether copying or otherwise extracting text and graphics from the document is allowed. |
Security |
setDegradedPrintingAllowed(boolean allowDegradedPrinting)
Sets a bool value that indicates whether printing in low resolution is allowed. |
Security |
setDocumentAssemblyingAllowed(boolean allowDocumentAssemblying)
Sets a bool value that indicates whether assembling the document is allowed. |
Security |
setFormFillingAllowed(boolean allowFormFilling)
Sets or sets a bool value that indicates whether filling in forms and signing the document is allowed. |
Security |
setMasterPass(java.lang.String masterPass)
Sets a string that indicates the master password used in pdf encryption. |
Security |
setPrintingAllowed(boolean allowPrinting)
Sets a bool value that indicates whether printing is allowed. |
Security |
setScreenReadersAllowed(boolean allowScreenReaders)
Sets a bool value that indicates whether screen readers is allowed. |
Security |
setUserPass(java.lang.String userPass)
Sets a string that indicates the user password used in pdf encryption. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Security()
Method Detail |
---|
public boolean isCopyingAllowed()
public Security setCopyingAllowed(boolean allowCopying)
allowCopying
- The allowCopying to set.public boolean isDegradedPrintingAllowed()
public Security setDegradedPrintingAllowed(boolean allowDegradedPrinting)
allowDegradedPrinting
- The allowDegradedPrinting to set.public boolean isDocumentAssemblyingAllowed()
public Security setDocumentAssemblyingAllowed(boolean allowDocumentAssemblying)
allowDocumentAssemblying
- The allowDocumentAssemblying to set.public boolean isFormFillingAllowed()
public Security setFormFillingAllowed(boolean allowFormFilling)
allowFormFilling
- The allowFormFilling to set.public boolean isAnnotationsModifyingAllowed()
public Security setAnnotationsModifyingAllowed(boolean allowModifyingAnnotations)
allowModifyingAnnotations
- The allowModifyingAnnotations to set.public boolean isContentsModifyingAllowed()
public Security setContentsModifyingAllowed(boolean allowModifyingContents)
allowModifyingContents
- The allowModifyingContents to set.public boolean isPrintingAllowed()
public Security setPrintingAllowed(boolean allowPrinting)
allowPrinting
- The allowPrinting to set.public boolean isScreenReadersAllowed()
public Security setScreenReadersAllowed(boolean allowScreenReaders)
allowScreenReaders
- The allowScreenReaders to set.public boolean Is128BitsEncrypted()
public Security Set128BitsEncrypted(boolean bits128)
bits128
- The bits128 to set.public java.lang.String getMasterPass()
public Security setMasterPass(java.lang.String masterPass)
masterPass
- The masterPass to set.public java.lang.String getUserPass()
public Security setUserPass(java.lang.String userPass)
userPass
- The userPass to set.public int getPermissions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |