]> source.dussan.org Git - poi.git/commit
Some encryption fixes:
authorAndreas Beeker <kiwiwings@apache.org>
Mon, 21 Apr 2014 12:16:54 +0000 (12:16 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Mon, 21 Apr 2014 12:16:54 +0000 (12:16 +0000)
commitf566b57be081e6d426ef149009b808e8d06fd879
tree3492835e1136df1db6bf8bebe1a78381861f5945
parent740c46ef8451accdbbe035c968414d2d1ae71377
Some encryption fixes:
- don't rely on SecretKey object having the right algorithm set
- leave encryption-description parsing of string/stream to xmlbeans and refactor it to one location
- use namespaces of schema instead of hard-coded strings
- use CryptoFunctions.getMessageDigest() instead of code duplication

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588874 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/poifs/crypt/CryptoFunctions.java
src/ooxml/java/org/apache/poi/poifs/crypt/agile/AgileEncryptionHeader.java
src/ooxml/java/org/apache/poi/poifs/crypt/agile/AgileEncryptionInfoBuilder.java
src/ooxml/java/org/apache/poi/poifs/crypt/agile/AgileEncryptionVerifier.java
src/ooxml/java/org/apache/poi/poifs/crypt/agile/AgileEncryptor.java
src/scratchpad/src/org/apache/poi/hslf/usermodel/PictureData.java
src/testcases/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java