Package org.apache.fop.pdf
Class PDFEncryptionJCE.InitializationEngine
- java.lang.Object
-
- org.apache.fop.pdf.PDFEncryptionJCE.InitializationEngine
-
- Direct Known Subclasses:
PDFEncryptionJCE.Rev5Engine
,PDFEncryptionJCE.RevBefore5Engine
- Enclosing class:
- PDFEncryptionJCE
private abstract class PDFEncryptionJCE.InitializationEngine extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
encryptionLengthInBytes
protected byte[]
oValue
private java.lang.String
ownerPassword
protected int
permissions
protected byte[]
preparedOwnerPassword
protected byte[]
preparedUserPassword
private java.lang.String
userPassword
protected byte[]
uValue
-
Constructor Summary
Constructors Constructor Description InitializationEngine(PDFEncryptionJCE.EncryptionSettings encryptionSettings)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
computeOValue()
protected abstract void
computeUValue()
protected abstract void
createEncryptionKey()
protected java.lang.String
getEncryptionDictionaryPart()
protected abstract byte[]
preparePassword(java.lang.String password)
(package private) void
run()
-
-
-
Field Detail
-
encryptionLengthInBytes
protected final int encryptionLengthInBytes
-
permissions
protected final int permissions
-
userPassword
private final java.lang.String userPassword
-
ownerPassword
private final java.lang.String ownerPassword
-
oValue
protected byte[] oValue
-
uValue
protected byte[] uValue
-
preparedUserPassword
protected byte[] preparedUserPassword
-
preparedOwnerPassword
protected byte[] preparedOwnerPassword
-
-
Constructor Detail
-
InitializationEngine
InitializationEngine(PDFEncryptionJCE.EncryptionSettings encryptionSettings)
-
-
Method Detail
-
run
void run()
-
getEncryptionDictionaryPart
protected java.lang.String getEncryptionDictionaryPart()
-
computeOValue
protected abstract void computeOValue()
-
computeUValue
protected abstract void computeUValue()
-
createEncryptionKey
protected abstract void createEncryptionKey()
-
preparePassword
protected abstract byte[] preparePassword(java.lang.String password)
-
-