|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.Security
|
+--com.cete.dynamicpdf.HighSecurity
Represents high 128 bit PDF document security.128 bit PDF security is compatible with PDF version 1.4 and higher and can be read with Adobe Acrobat Reader version 5 and higher. Older readers will not be able to read document encrypted with this security.
Licensing:
This property is a DynamicPDF Generator Enterprise
Edition feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
HighSecurity()
Initializes a new instance of the HighSecurity class. |
|
HighSecurity(java.lang.String password)
Initializes a new instance of the HighSecurity class. |
|
HighSecurity(java.lang.String ownerPassword,
java.lang.String userPassword)
Initializes a new instance of the HighSecurity class. |
|
| Method Summary | |
void |
draw(DocumentWriter writer,
Encrypter encrypter)
Draws the encrypter dictionary to the given DocumentWriter
object. |
boolean |
getAllowAccessibility()
Gets if accessibility programs should be able to read the documents text and images for the user. |
boolean |
getAllowDocumentAssembly()
Gets if the document can be assembled and manipulated by the user. |
boolean |
getAllowFormFilling()
Gets if form filling should be allowed by the user. |
boolean |
getAllowHighResolutionPrinting()
Gets if the document can be printed at a high resolution by the user. |
Encrypter |
getEncrypter(byte[] id)
Gets a 40 bit Encrypter object to be used for encrypting
the document. |
void |
setAllowAccessibility(boolean allowAccessibility)
Sets if accessibility programs should be able to read the documents text and images for the user. |
void |
setAllowDocumentAssembly(boolean allowDocumentAssembly)
Sets if the document can be assembled and manipulated by the user. |
void |
setAllowFormFilling(boolean allowFormFilling)
Sets if form filling should be allowed by the user. |
void |
setAllowHighResolutionPrinting(boolean allowHighResolutionPrinting)
Sets if the document can be printed at a high resolution by the user. |
| Methods inherited from class com.cete.dynamicpdf.Security |
binPassword, getAllowCopy, getAllowEdit, getAllowPrint, getAllowUpdateAnnotsAndFields, getFiller, getOwnerPassword, getUserPassword, setAllowCopy, setAllowEdit, setAllowPrint, setAllowUpdateAnnotsAndFields, setOwnerPassword, setUserPassword |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HighSecurity()
HighSecurity class.
public HighSecurity(java.lang.String ownerPassword,
java.lang.String userPassword)
HighSecurity class.
ownerPassword - the String owner password.userPassword - the String user password.public HighSecurity(java.lang.String password)
HighSecurity class.
password - the String owner and user password.| Method Detail |
public void setAllowFormFilling(boolean allowFormFilling)
allowFormFilling - boolean specifying if form filling should be
allowed by the user.public boolean getAllowFormFilling()
public void setAllowAccessibility(boolean allowAccessibility)
allowAccessibility - boolean accessibility.public boolean getAllowAccessibility()
public void setAllowDocumentAssembly(boolean allowDocumentAssembly)
allowDocumentAssembly - boolean value whether the document can be
assembled and manipulated by the user.public boolean getAllowDocumentAssembly()
public void setAllowHighResolutionPrinting(boolean allowHighResolutionPrinting)
allowHighResolutionPrinting - boolean whether the document can be
printed at a high resolution by the user.public boolean getAllowHighResolutionPrinting()
public Encrypter getEncrypter(byte[] id)
Encrypter object to be used for encrypting
the document.
getEncrypter in class Securityid - byte array ID of the current PDF document.
Encrypter
public void draw(DocumentWriter writer,
Encrypter encrypter)
DocumentWriter
object.
draw in class Securitywriter - DocumentWriter object to receive the output.encrypter - Encrypter object used to encrypt the document.DocumentWriter,
Encrypter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||