Automating digital signature for dotm (word templates)

1.2k Views Asked by At

Internally many developers work on customized word templates. When we ship the code, we would like to add digital signatures (pfx) to the vb code or to the dotm templates. Ideally, we would like to add this step to the build script. Signcode/Signtool do not sign dotm file types. I am wondering if there are other alternatives. Currently I am considering this System.IO.Packaging.PackageDigitalSignatureManager and this Set-AuthenticodeSignature, hoping they can be modified to support dotm files.

Since, dotm files can be signed via VB, I assume they can be digitally signed. Is there any way to automate the signing of digital signatures for dotm files?

(I've read this and related SO questions, hoping there are other solutions.)

1

There are 1 best solutions below

0
On