1.3.4 Visual Basic for Applications Digital Signature
In the formats described in [MS-XLS] and [MS-PPT], the signature structure is stored in the Document Summary Information OLE property set (section 18.104.22.168.2.1) as a VT_BLOB TypedPropertyValue property. The following diagram illustrates the relative structures for this storage mechanism.
Figure 5: VBA digital signature storage as OLE property set property
In the format described in [MS-DOC], the signature structure is stored in the StwUser string table ([MS-DOC] section 2.9.298) as the value of Unicode string variables named "Sign" or "SigAgile". The following diagram illustrates the relative structures for this storage mechanism.
Figure 6: VBA digital signature storage as [MS-DOC] string table variable
The signature structure consists of information about the digital signature, as well as the signature (section 22.214.171.124) itself, and a serialized certificate store (section 126.96.36.199.5). The following diagram illustrates this structure.
Figure 7: DigSigInfoSerialized structure