PDF4Java Reference Documentation
com.o2sol.pdf4java.core.security Package / PDFRc4SecurityHandler Class
Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFRc4SecurityHandler Class Methods
In This Topic

For a list of all members of this type, see PDFRc4SecurityHandler members.

Public Methods

| Name | Description
--- | --- | ---
| encryptStream | This method supports the internal library infrastructure and should not be used by external client code.
| getCosEncryptObject | This method supports the internal library infrastructure and should not be used by external client code.
| getDocumentID | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFSecurityHandler)
| getEnableAnnotationsAndFieldsEdit | Gets a value indicating whether the user can edit the annotations and form fields. If true, the user can add or modify text annotations, fill in interactive form fields, and, if is also set, create or modify interactive form fields (including signature fields). (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getEnableContentExtraction | Gets a value indicating whether the user can extract the content of the document. If the security handler uses a 128bit key, the user can copy or otherwise extract text and graphics from the document by operations other than that controlled by . (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getEnableContentExtractionForAccessibility | Gets a value indicating whether the user can extract the content of the document in support of accessibility. This property is valid only for security handlers that use 128 bit keys. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getEnableDocumentAssembly | Gets a value indicating whether the user can assemble the document. This property is valid only for security handlers that use 128 bit keys. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getEnableDocumentChange | Gets a value indicating whether the user can modify the contents of the document. This property controls the modification of the document contents by operations other than those controlled by methods: , , . (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getEnableFormsFill | Gets a value indicating whether the user can fill in form fields. This property is valid only for security handlers that use 128 bit keys. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getEnablePrint | Gets a value indicating whether the user can print the document. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getEncryptMetadata | Gets a value indicating whether the document-level metadata stream is to be encrypted. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getHighQualityPrint | Gets a value indicating whether the document is printed in high quality. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getKeySize | Gets the size, in bits, of the secret key used by the security handler. RC4 supports only the following key sizes: 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120 and 128.
| getOwnerPassword | Gets the owner password. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getUserPassword | Gets the user password. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| init | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setDocumentID | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFSecurityHandler)
| setEnableAnnotationsAndFieldsEdit | Sets a value indicating whether the user can edit the annotations and form fields. If true, the user can add or modify text annotations, fill in interactive form fields, and, if is also set, create or modify interactive form fields (including signature fields). (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setEnableContentExtraction | Sets a value indicating whether the user can extract the content of the document. If the security handler uses a 128bit key, the user can copy or otherwise extract text and graphics from the document by operations other than that controlled by . (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setEnableContentExtractionForAccessibility | Sets a value indicating whether the user can extract the content of the document in support of accessibility. This property is valid only for security handlers that use 128 bit keys. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setEnableDocumentAssembly | Sets a value indicating whether the user can assemble the document. This property is valid only for security handlers that use 128 bit keys. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setEnableDocumentChange | Sets a value indicating whether the user can modify the contents of the document. This property controls the modification of the document contents by operations other than those controlled by methods: , , . (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setEnableFormsFill | Sets a value indicating whether the user can fill in form fields. This property is valid only for security handlers that use 128 bit keys. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setEnablePrint | Sets a value indicating whether the user can print the document. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setEncryptMetadata | Sets a value indicating whether the document-level metadata stream is to be encrypted. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setHighQualityPrint | Sets a value indicating whether the document is printed in high quality. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setKeySize | Sets the size, in bits, of the secret key used by the security handler. RC4 supports only the following key sizes: 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120 and 128.
| setOwnerPassword | Sets the owner password. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setPermissions | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setUserPassword | Sets the user password. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| zInternalMethod25 | This method supports the internal library infrastructure and should not be used by external client code.
| zInternalMethod26 | This method supports the internal library infrastructure and should not be used by external client code.
| zInternalMethod27 | This method supports the internal library infrastructure and should not be used by external client code.
| zInternalMethod28 | Overloaded. This method supports the internal library infrastructure and should not be used by external client code.
| zInternalMethod29 | Overloaded. This method supports the internal library infrastructure and should not be used by external client code.
| zInternalMethod30 | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| zInternalMethod31 | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| zInternalMethod33 | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| zInternalMethod34 | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)

Top
Protected Methods

| Name | Description
--- | --- | ---
| encryptRC4 | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getObjectEncryptionKey | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| setupRC4 | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| zInternalMethod32 | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)

Top
See Also

#### Reference

PDFRc4SecurityHandler Class
com.o2sol.pdf4java.core.security Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.