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 PDFEncryptionJCE.RevBefore5Engine
paddingFields inherited from class 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 voidprotected byte[]createEncryptionKeyStep6(byte[] hash) private byte[]xorKeyAndEncrypt19Times(byte[] key, byte[] input) Methods inherited from class PDFEncryptionJCE.RevBefore5Engine
computeOValue, createEncryptionKey, preparePassword, runMethods inherited from class PDFEncryptionJCE.InitializationEngine
getEncryptionDictionaryPart
-
Constructor Details
-
Rev3Engine
Rev3Engine(PDFEncryptionJCE.EncryptionSettings encryptionSettings)
-
-
Method Details
-
computeOValueStep3
protected byte[] computeOValueStep3(byte[] hash) - Specified by:
computeOValueStep3in classPDFEncryptionJCE.RevBefore5Engine
-
computeOValueStep7
protected byte[] computeOValueStep7(byte[] key, byte[] encryptionResult) - Specified by:
computeOValueStep7in classPDFEncryptionJCE.RevBefore5Engine
-
createEncryptionKeyStep6
protected byte[] createEncryptionKeyStep6(byte[] hash) - Specified by:
createEncryptionKeyStep6in classPDFEncryptionJCE.RevBefore5Engine
-
computeUValue
protected void computeUValue()- Specified by:
computeUValuein classPDFEncryptionJCE.InitializationEngine
-
xorKeyAndEncrypt19Times
private byte[] xorKeyAndEncrypt19Times(byte[] key, byte[] input)
-