Discuss this help topic in SecureBlackbox Forum
Signs the ASourceStream.
Declaration
Parameters
Description
This method signs data from
ASourceStream
and returns result via
ADestStream.
Use
Count parameter to read
specified number of bytes from
ASourceStream.
Set this parameter value to 0 in order to read all data till the stream end.
Use
Detached parameter to
specify if signature must be detached. If this parameter value is
True only signature will be written to resulting stream.
If
False signature will be written together with original data.
Depending on
Compress and
Armor
property values data can be compressed before signing and armored (wrapped into base64 envelope) after this.
[Pascal]
Note, in Delphi versions older than 7, works only with streams of sizes smaller than 2GB (because of TStream limitation).
Use SignFile instead.