methodTstCustomSMIMEBroker.Decode
function Decode(aSrc, aDest: TsmEmail; aActionDescriptions: TStrings): Boolean; overload;
Peels every S/MIME layer of aSrc - multipart/signed and opaque pkcs7-mime alike, however deeply nested - and writes the recovered message to aDest: the original envelope headers with the recovered content entity. A message that is not S/MIME at all is copied through with a True result, mirroring the stream broker's terminal pData behaviour. aActionDescriptions (when non-nil) receives one line per layer plus the signer/recipient details the attached workers report. Verification failure or decryption failure returns False.
function Decode(aSrc, aDest: TsmEmail; var aActions: tContentTypeArray): Boolean; overload;
As above but reports the peeled layers innermost-first, matching the stream broker's array overload.