Package org.apache.fop.pdf
Class PDFEncryptionJCE.Rev5Engine
java.lang.Object
org.apache.fop.pdf.PDFEncryptionJCE.InitializationEngine
org.apache.fop.pdf.PDFEncryptionJCE.Rev5Engine
- Enclosing class:
PDFEncryptionJCE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate byte[]private byte[]private byte[]private byte[]private byte[]private byte[]Fields inherited from class org.apache.fop.pdf.PDFEncryptionJCE.InitializationEngine
encryptionLengthInBytes, oValue, permissions, preparedOwnerPassword, preparedUserPassword, uValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidAlgorithm 3.9-2 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)protected voidAlgorithm 3.9-1 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)byte[]computePermsValue(int permissions) Algorithm 3.10 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)private voidAlgorithm 3.8-2 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)protected voidAlgorithm 3.8-1 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)protected voidSee Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3, page 20, paragraph 5.protected Stringprotected byte[]preparePassword(String password) Algorithm 3.2a-1 (page 19, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)(package private) voidrun()
-
Field Details
-
userValidationSalt
private byte[] userValidationSalt -
userKeySalt
private byte[] userKeySalt -
ownerValidationSalt
private byte[] ownerValidationSalt -
ownerKeySalt
private byte[] ownerKeySalt -
ueValue
private byte[] ueValue -
oeValue
private byte[] oeValue -
encryptMetadata
private final boolean encryptMetadata
-
-
Constructor Details
-
Rev5Engine
Rev5Engine(PDFEncryptionJCE.EncryptionSettings encryptionSettings)
-
-
Method Details
-
run
void run()- Overrides:
runin classPDFEncryptionJCE.InitializationEngine
-
getEncryptionDictionaryPart
- Overrides:
getEncryptionDictionaryPartin classPDFEncryptionJCE.InitializationEngine
-
computeUValue
protected void computeUValue()Algorithm 3.8-1 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)- Specified by:
computeUValuein classPDFEncryptionJCE.InitializationEngine
-
computeOValue
protected void computeOValue()Algorithm 3.9-1 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)- Specified by:
computeOValuein classPDFEncryptionJCE.InitializationEngine
-
createEncryptionKey
protected void createEncryptionKey()See Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3, page 20, paragraph 5.- Specified by:
createEncryptionKeyin classPDFEncryptionJCE.InitializationEngine
-
preparePassword
Algorithm 3.2a-1 (page 19, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)- Specified by:
preparePasswordin classPDFEncryptionJCE.InitializationEngine
-
computeUEValue
private void computeUEValue()Algorithm 3.8-2 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3) -
computeOEValue
private void computeOEValue()Algorithm 3.9-2 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3) -
computePermsValue
public byte[] computePermsValue(int permissions) Algorithm 3.10 (page 20, Adobe Supplement to the ISO 32000, BaseVersion: 1.7, ExtensionLevel: 3)
-