Discuss this help topic in SecureBlackbox Forum
XML: Format signature
To add whitespace formatting to the text or before/after element in the EncyptedData element you need to handle TElXMLEncryptor.OnFormatText and TElXMLEncryptor.OnFormatElement events.
The sample code, that shows how to use those events, can be found in {SecureBlackbox}\Samples\{language}\XMLBlackbox\AdvancedSigner directory or {SecureBlackbox}\Samples\{language}\XMLBlackbox\Signer directory after you install SecureBlackbox on your computer (the implementation of this event handlers is the same for TElXMLSigner and TElXMLEncryptor components). .