0

I use https://github.com/PHPOffice/PhpSpreadsheet I need to add digital signature to xls document to verify authenticity of document. Is it possible with this or maybe other PHP library? Can anyone point me a direction how to do this?

Barto
  • 469
  • 1
  • 6
  • 15

1 Answers1

0

Digital signatures are not supported in PhpSpreadsheet.

But in case you want macros signed with a certificate, then those are supported in PhpSpreadsheet Xlsx writer. But that feature is not documented. To understand how to use, refer to the commit that introduced it. It should be something like:

$spreadsheet->setMacrosCertificate($certificate);

PowerKiKi
  • 4,539
  • 4
  • 39
  • 47