TCmsSigner.GetSignature Method
This method is called only once at the end of the pdf creation. It should release all handles and temporary memory used to calculate the data hash, and return a DER-encoded signature.
Syntax
Unit: FlexCel.Core
function TCmsSigner.GetSignature(const aTimestampHandler: TCmsTimestampHandler; const aTimestampHashSize: Integer): TBytes; virtual; abstract;
Parameters
| <-> |
Parameter |
Type |
Description |
| const |
aTimestampHandler |
TCmsTimestampHandler |
Code that asks a Time Stamping Authority for a timestamp of the signature. If nil, the signature won't be timestamped. |
| const |
aTimestampHashSize |
Integer |
Size in bits of the digest sent to the TSA, 256 or 512. It is ignored when aTimestampHandler is nil. |
Returns
A DER-encoded signature.
See also