sw: add XPackageEncryption support for binary doc
commitf1c1a4de8f17128191e1c6d26a737b88fcc31fc9
authorVasily Melenchuk <vasily.melenchuk@cib.de>
Mon, 28 Oct 2019 11:23:36 +0000 (28 14:23 +0300)
committerThorsten Behrens <Thorsten.Behrens@CIB.de>
Mon, 25 May 2020 08:05:05 +0000 (25 10:05 +0200)
treed1eb791c3903974aa7d75eadab6e69b4e7ca019e
parentb9353394f46e46485fd148f2842f0c1e8e5322e3
sw: add XPackageEncryption support for binary doc

This adds read support for API-based MS-CRYPTO algos.

DRM encryption is implemented as a service and desrption
will be called if we found corresponding streams inside
binary OLE package.

Change-Id: Ie1a5b0417e1e7851b24d410c8f41dc85dd9210f7
Reviewed-on: https://gerrit.libreoffice.org/81600
Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
Tested-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84437
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
sw/source/filter/ww8/ww8par.cxx
sw/source/filter/ww8/ww8par.hxx