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
private class PDFEncryptionJCE.Rev3Engine extends PDFEncryptionJCE.RevBefore5Engine
-
-
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 Constructor Description Rev3Engine(PDFEncryptionJCE.EncryptionSettings encryptionSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
computeOValueStep3(byte[] hash)
protected byte[]
computeOValueStep7(byte[] key, byte[] encryptionResult)
protected void
computeUValue()
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 Detail
-
Rev3Engine
Rev3Engine(PDFEncryptionJCE.EncryptionSettings encryptionSettings)
-
-
Method Detail
-
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)
-
-