]> source.dussan.org Git - poi.git/commit
- Support for Office Binary Document RC4 CryptoAPI Encryption for HSLF
authorAndreas Beeker <kiwiwings@apache.org>
Thu, 25 Dec 2014 01:56:29 +0000 (01:56 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Thu, 25 Dec 2014 01:56:29 +0000 (01:56 +0000)
commit0839a097e36d53bef39743192e1a1ae7fe8af2cf
tree4e0754c3bc51248488edac80763755c13e5039f9
parent2668385b172e208a0129ae4fe770da3e0ce3e69d
- Support for Office Binary Document RC4 CryptoAPI Encryption for HSLF
- Support for Office Binary Document RC4 Encryption
- use LittleEndian class in LittleEndianInputStream
- add normalize method for HSLF, to remove edit history, which is also necessary for encryption support
- update PersistDirectoryEntry handling in PersistPtrHolder to recognize groups while serializing
- deprecated PersistPtrHolder.getSlideOffsetDataLocationsLookup() - throws now UnsupportedOperationException,
  as this wasn't used outside the scope of the class and was quite internal logic of PersistPtrHolder

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647867 13f79535-47bb-0310-9956-ffa450edef68
48 files changed:
src/java/org/apache/poi/POIDocument.java
src/java/org/apache/poi/poifs/crypt/ChunkedCipherInputStream.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/ChunkedCipherOutputStream.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/CipherProvider.java
src/java/org/apache/poi/poifs/crypt/Decryptor.java
src/java/org/apache/poi/poifs/crypt/EncryptionInfo.java
src/java/org/apache/poi/poifs/crypt/EncryptionInfoBuilder.java
src/java/org/apache/poi/poifs/crypt/EncryptionMode.java
src/java/org/apache/poi/poifs/crypt/EncryptionVerifier.java
src/java/org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4Decryptor.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4EncryptionHeader.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4EncryptionInfoBuilder.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4EncryptionVerifier.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/binaryrc4/BinaryRC4Encryptor.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIDecryptor.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIEncryptionHeader.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIEncryptionInfoBuilder.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIEncryptionVerifier.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/cryptoapi/CryptoAPIEncryptor.java [new file with mode: 0644]
src/java/org/apache/poi/poifs/crypt/standard/StandardDecryptor.java
src/java/org/apache/poi/poifs/crypt/standard/StandardEncryptionHeader.java
src/java/org/apache/poi/poifs/crypt/standard/StandardEncryptionInfoBuilder.java
src/java/org/apache/poi/poifs/crypt/standard/StandardEncryptionVerifier.java
src/java/org/apache/poi/poifs/crypt/standard/StandardEncryptor.java
src/java/org/apache/poi/poifs/filesystem/DocumentInputStream.java
src/java/org/apache/poi/util/LittleEndianInputStream.java
src/ooxml/java/org/apache/poi/poifs/crypt/agile/AgileDecryptor.java
src/ooxml/java/org/apache/poi/poifs/crypt/agile/AgileEncryptionInfoBuilder.java
src/ooxml/java/org/apache/poi/poifs/crypt/agile/AgileEncryptor.java
src/ooxml/testcases/org/apache/poi/poifs/crypt/TestAgileEncryptionParameters.java
src/ooxml/testcases/org/apache/poi/poifs/crypt/TestDecryptor.java
src/ooxml/testcases/org/apache/poi/poifs/crypt/TestEncryptor.java
src/scratchpad/src/org/apache/poi/hslf/EncryptedSlideShow.java
src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java
src/scratchpad/src/org/apache/poi/hslf/dev/SlideIdListing.java
src/scratchpad/src/org/apache/poi/hslf/dev/UserEditAndPersistListing.java
src/scratchpad/src/org/apache/poi/hslf/exceptions/CorruptPowerPointFileException.java
src/scratchpad/src/org/apache/poi/hslf/exceptions/EncryptedPowerPointFileException.java
src/scratchpad/src/org/apache/poi/hslf/record/CurrentUserAtom.java
src/scratchpad/src/org/apache/poi/hslf/record/DocumentEncryptionAtom.java
src/scratchpad/src/org/apache/poi/hslf/record/PersistPtrHolder.java
src/scratchpad/src/org/apache/poi/hslf/record/Record.java
src/scratchpad/src/org/apache/poi/hslf/record/UserEditAtom.java
src/scratchpad/testcases/org/apache/poi/hslf/record/AllHSLFRecordTests.java
src/scratchpad/testcases/org/apache/poi/hslf/record/TestCurrentUserAtom.java
src/scratchpad/testcases/org/apache/poi/hslf/record/TestDocumentEncryption.java [new file with mode: 0644]
src/scratchpad/testcases/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java
test-data/slideshow/cryptoapi-proc2356.ppt [new file with mode: 0644]