Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTstCustomCipherComponent.DestinationStream

property DestinationStream: tStream read fDestinationStream write SetDestinationStream;
The stream that the "ToDst" family (EncryptToDst/DecryptToDst and their Stream/Str/Ptr variants) writes its output to; an application must assign this before calling any of those methods (it is what makes them different from the in-place Encrypt/Decrypt overloads). Reassigning it records the new stream's current position as the rollback point used by DoneToDst on failed MAC verification.