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

PDFAesSecurityHandler Class Members
In This Topic

The following tables list the members exposed by PDFAesSecurityHandler.

Public Constructors

| Name | Description
--- | --- | ---
| PDFAesSecurityHandler Constructor | Initializes a new PDFAesSecurityHandler object.

Top
Protected Fields

| Name | Description
--- | --- | ---
| documentID | (Inherited from com.o2sol.pdf4java.core.security.PDFSecurityHandler)
| md5 | (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| ownerKey | (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| stateRC4 | (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| userKey | (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)

Top
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. AES support only 128bit and 256bit key sizes.
| getOwnerPassword | Gets the owner password. (Inherited from com.o2sol.pdf4java.core.security.PDFStandardSecurityHandler)
| getUseEnhancedPasswordValidation | Gets a value indicating whether enhanced password validation is activated. PDF files encrypted with this option require Adobe Reader X or later.
| 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. AES support only 128bit and 256bit key sizes.
| 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)
| setUseEnhancedPasswordValidation | Sets a value indicating whether enhanced password validation is activated. PDF files encrypted with this option require Adobe Reader X or later.
| 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

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

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.