|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.Security
public class Security
Encapsulates information used in pdf Security.
Typical usages are the following:
Constructor Summary | |
---|---|
Security()
Initializes a new instance of the Security class. |
Method Summary | |
---|---|
boolean |
getIs128BitsEncrypted()
Gets a boolean value that indicates whether the Pdf documents will be 128 bits or 40 bits encrypted. |
boolean |
getIsAnnotationsModifyingAllowed()
Gets a bool value that indicates whether adding or modifying text annotations is allowed. |
boolean |
getIsContentsModifyingAllowed()
Gets a bool value that indicates whether modifying contents is allowed. |
boolean |
getIsCopyingAllowed()
Gets a bool value that indicates whether copying or otherwise extracting text and graphics from the document is allowed. |
boolean |
getIsDefaultAllAllowed()
Gets or sets a bool value that indicates if all permissions are set to allowed as default. |
boolean |
getIsDegradedPrintingAllowed()
Gets a bool value that indicates whether printing in low resolution is allowed. |
boolean |
getIsDocumentAssemblyingAllowed()
Gets a bool value that indicates whether assembling the document is allowed. |
boolean |
getIsFormFillingAllowed()
Gets a bool value that indicates whether filling in forms and signing the document is allowed. |
boolean |
getIsPrintingAllowed()
Gets a bool value that indicates whether printing is allowed. |
boolean |
getIsScreenReadersAllowed()
Gets a boolean value that indicates whether screen readers are allowed. |
java.lang.String |
getMasterPassword()
Gets a string that indicates the master password used in pdf encryption. |
java.lang.String |
getUserPassword()
Gets a string that indicates the user password used in pdf encryption. |
void |
setIs128BitsEncrypted(boolean value)
Sets a boolean value that indicates whether the Pdf documents will be 128 bits or 40 bits encrypted. |
void |
setIsAnnotationsModifyingAllowed(boolean value)
Sets a bool value that indicates whether adding or modifying text annotations is allowed. |
void |
setIsContentsModifyingAllowed(boolean value)
Sets a bool value that indicates whether modifying contents is allowed. |
void |
setIsCopyingAllowed(boolean value)
Sets a bool value that indicates whether copying or otherwise extracting text and graphics from the document is allowed. |
void |
setIsDefaultAllAllowed(boolean value)
Sets or sets a bool value that indicates if all permissions are set to allowed as default. |
void |
setIsDegradedPrintingAllowed(boolean value)
Sets a bool value that indicates whether printing in low resolution is allowed. |
void |
setIsDocumentAssemblyingAllowed(boolean value)
Sets a bool value that indicates whether assembling the document is allowed. |
void |
setIsFormFillingAllowed(boolean value)
Sets a bool value that indicates whether filling in forms and signing the document is allowed. |
void |
setIsPrintingAllowed(boolean value)
Sets a bool value that indicates whether printing is allowed. |
void |
setIsScreenReadersAllowed(boolean value)
Sets a boolean value that indicates whether screen readers are allowed. |
void |
setMasterPassword(java.lang.String value)
Sets a string that indicates the master password used in pdf encryption. |
void |
setUserPassword(java.lang.String value)
Sets a string that indicates the user password used in pdf encryption. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Security()
Security
class.
Method Detail |
---|
public boolean getIs128BitsEncrypted()
public void setIs128BitsEncrypted(boolean value)
value
- public java.lang.String getUserPassword()
public void setUserPassword(java.lang.String value)
value
- public java.lang.String getMasterPassword()
public void setMasterPassword(java.lang.String value)
value
- public boolean getIsPrintingAllowed()
Remarks: To fully disable Pdf documents to be printable both
IsPrintingAllowed
Security and
IsDegradedPrintingAllowed
Security should be false.
public void setIsPrintingAllowed(boolean value)
Remarks: To fully disable Pdf documents to be printable both
IsPrintingAllowed
Security and
IsDegradedPrintingAllowed
Security should be false.
value
- public boolean getIsContentsModifyingAllowed()
public void setIsContentsModifyingAllowed(boolean value)
value
- public boolean getIsCopyingAllowed()
public void setIsCopyingAllowed(boolean value)
value
- public boolean getIsAnnotationsModifyingAllowed()
public void setIsAnnotationsModifyingAllowed(boolean value)
value
- public boolean getIsFormFillingAllowed()
public void setIsFormFillingAllowed(boolean value)
value
- public boolean getIsScreenReadersAllowed()
public void setIsScreenReadersAllowed(boolean value)
value
- public boolean getIsDocumentAssemblyingAllowed()
public void setIsDocumentAssemblyingAllowed(boolean value)
value
- public boolean getIsDegradedPrintingAllowed()
Remarks:To fully disable Pdf documents to be printable both
IsPrintingAllowed
Security and
IsDegradedPrintingAllowed
Security should be false.
public void setIsDegradedPrintingAllowed(boolean value)
Remarks:To fully disable Pdf documents to be printable both
IsPrintingAllowed
Security and
IsDegradedPrintingAllowed
Security should be false.
value
- public boolean getIsDefaultAllAllowed()
public void setIsDefaultAllAllowed(boolean value)
value
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |