Package org.apache.fop.pdf
Class PDFEncryptionJCE.Rev3Engine
java.lang.Object
org.apache.fop.pdf.PDFEncryptionJCE.InitializationEngine
org.apache.fop.pdf.PDFEncryptionJCE.RevBefore5Engine
org.apache.fop.pdf.PDFEncryptionJCE.Rev3Engine
- Enclosing class:
- PDFEncryptionJCE
-
Field Summary
Fields inherited from class org.apache.fop.pdf.PDFEncryptionJCE.RevBefore5Engine
padding
Fields inherited from class org.apache.fop.pdf.PDFEncryptionJCE.InitializationEngine
encryptionLengthInBytes, oValue, permissions, preparedOwnerPassword, preparedUserPassword, uValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
computeOValueStep3
(byte[] hash) protected byte[]
computeOValueStep7
(byte[] key, byte[] encryptionResult) protected void
protected byte[]
createEncryptionKeyStep6
(byte[] hash) private byte[]
xorKeyAndEncrypt19Times
(byte[] key, byte[] input) Methods inherited from class org.apache.fop.pdf.PDFEncryptionJCE.RevBefore5Engine
computeOValue, createEncryptionKey, preparePassword, run
Methods inherited from class org.apache.fop.pdf.PDFEncryptionJCE.InitializationEngine
getEncryptionDictionaryPart
-
Constructor Details
-
Rev3Engine
Rev3Engine(PDFEncryptionJCE.EncryptionSettings encryptionSettings)
-
-
Method Details
-
computeOValueStep3
protected byte[] computeOValueStep3(byte[] hash) - Specified by:
computeOValueStep3
in classPDFEncryptionJCE.RevBefore5Engine
-
computeOValueStep7
protected byte[] computeOValueStep7(byte[] key, byte[] encryptionResult) - Specified by:
computeOValueStep7
in classPDFEncryptionJCE.RevBefore5Engine
-
createEncryptionKeyStep6
protected byte[] createEncryptionKeyStep6(byte[] hash) - Specified by:
createEncryptionKeyStep6
in classPDFEncryptionJCE.RevBefore5Engine
-
computeUValue
protected void computeUValue()- Specified by:
computeUValue
in classPDFEncryptionJCE.InitializationEngine
-
xorKeyAndEncrypt19Times
private byte[] xorKeyAndEncrypt19Times(byte[] key, byte[] input)
-