Discuss this help topic in SecureBlackbox Forum
Set information about signature
To provide details on XML digital signature for MS office documents in binary or OpenXML format you need to use SignatureInfoV1 property of TElOfficeBinaryXMLSignatureHandler or TElOfficeOpenXMLSignatureHandler class respectively. At first you need to enable usage of SignatureInfoV1 information using TElOfficeXMLSignatureInfoV1.Included and then provide signature details.
C#:
Handler.SignatureInfoV1.Included = true;
Handler.SignatureInfoV1.SignatureComments = "Comments";
Handler.SignatureInfoV1.SignatureText = "Text";
Delphi:
Handler.SignatureInfoV1.Included := true;
Handler.SignatureInfoV1.SignatureComments := 'Comments';
Handler.SignatureInfoV1.SignatureText := 'Text';
For binary signatures, if you know a GUID of the signature line, you can assign it to SignatureHandler.SignatureInfoV1.SetupID property to attach a signature to the existing signature line. For OpenXML documents use TElOfficeOpenXMLSignatureLine.SignatureHandler property to attach a signature to the signature line.