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 intencryptionLengthInBytesprotected byte[]oValueprivate java.lang.StringownerPasswordprotected intpermissionsprotected byte[]preparedOwnerPasswordprotected byte[]preparedUserPasswordprivate java.lang.StringuserPasswordprotected 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 voidcomputeOValue()protected abstract voidcomputeUValue()protected abstract voidcreateEncryptionKey()protected java.lang.StringgetEncryptionDictionaryPart()protected abstract byte[]preparePassword(java.lang.String password)(package private) voidrun()
-
-
-
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)
-
-