https://issues.apache.org/bugzilla/show_bug.cgi?id=56076
Bug ID: 56076
Summary: [PATCH] Add document protection with password support
to XWPF
Product: POI
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: XWPF
Assignee: [email protected]
Reporter: [email protected]
The current implementation allows only to activate document protection without
password.
This patch allows to set a password when activating document protection. This
password needs to be provided as tuple (hashAlgortihmId, salt, hash). There is
no code yet that creates the hash value depending on a provided plain text
password and salt.
I tried to create a hash value as described in "Office Open XML, Part 4: Markup
Language Reference, December 2006", but failed. The calculated hash value did
not match the value calculated by MS Office 2010 :-(
I hope taht I can provide this later.
--
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]