[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-dev
Subject:    DO NOT REPLY [Bug 52690] Length of decrypted data stream is discarded - can't create valid Office Do
From:       bugzilla () apache ! org
Date:       2012-02-26 9:03:41
Message-ID: bug-52690-47293-pAHWfpDJnq () https ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52690

Yegor Kozlov <yegor@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Yegor Kozlov <yegor@dinom.ru> 2012-02-26 09:03:41 UTC ---
As of r1293784, POI provides Decryptor#getLength() that returns length of the
decrypted data stream. 

The getLength() method must be called after Decryptor.getDataStream() where the
length variable is initialized. An attempt to call getLength() prior to
getDataStream() will result in IllegalStateException. 

Regards,
Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic