|
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.cryptography.RC440Security
public class RC440Security
RC4 40 bit PDF security is compatible with PDF version 1.1 and higher and can be read with Adobe Acrobat version 3 and higher. For more details on RC4 40 bit security take a look at the Security topic.
Licensing:
This class is a DynamicPDF Merger Standard Edition feature.
One of the following licenses is required for non-evaluation usage:
Field Summary |
---|
Fields inherited from class com.cete.dynamicpdf.Security |
---|
text_Filter, text_Length, text_Standard |
Constructor Summary | |
---|---|
RC440Security()
Initializes a new instance of the RC440Security class. |
|
RC440Security(java.lang.String password)
Initializes a new instance of the RC440Security class. |
|
RC440Security(java.lang.String ownerPassword,
java.lang.String userPassword)
Initializes a new instance of the RC440Security class. |
Method Summary | |
---|---|
void |
draw(DocumentWriter writer,
Encrypter encrypter)
Draws the encrypter dictionary to the given DocumentWriter object. |
Encrypter |
getEncrypter(byte[] id)
Gets a 40 bit Encrypter object to be used for encrypting the document. |
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 RC440Security()
RC440Security
class.
public RC440Security(java.lang.String ownerPassword, java.lang.String userPassword)
RC440Security
class.
ownerPassword
- The owner password to open the document.userPassword
- The user password to open the document.public RC440Security(java.lang.String password)
RC440Security
class.
password
- The owner and user password to open the document.Method Detail |
---|
public Encrypter getEncrypter(byte[] id)
Encrypter
object to be used for encrypting the document.
getEncrypter
in class Security
id
- ID of the current PDF document.
An Encrypter
.
Encrypter
public void draw(DocumentWriter writer, Encrypter encrypter)
DocumentWriter
object.
draw
in class Security
writer
- 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 |