https://bz.apache.org/bugzilla/show_bug.cgi?id=57593

Vasili <[email protected]> changed:

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

--- Comment #16 from Vasili <[email protected]> ---
ok, finally, I succeeded, using the following (xml) API and using the password
you provided: 


        POIFSFileSystem fs = new POIFSFileSystem(fis);
            EncryptionInfo info = new EncryptionInfo(fs);
            Decryptor d = Decryptor.getInstance(info);

            System.out.println(d.verifyPassword("VelvetSweatshop")); 

            InputStream decryptedDataStream = d.getDataStream(fs);

            OPCPackage pkg = OPCPackage.open(decryptedDataStream);
            XSSFWorkbook workbook = new XSSFWorkbook(pkg);

so this can be closed now. (so lot of confusion with different APIs!)

Thanks for your support.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to