add_timestamp Method
Use this method to add an timestamp.
Syntax
def add_timestamp(timestamp_type: int, timestamp_server: str) -> None: ...
Remarks
Call this method to timestamp the signature. Use the TimestampServer parameter to provide the address of the TSA (Time Stamping Authority) server which should be used for timestamping. This method could be called separately or in on_signature_validated event handler after successful signature validation. Use the TimestampType parameter to specify the type of timestamp to create
Supported timestamp types:
tstSignature | 12 | Signature timestamp |
tstRefsOnly | 13 | RefsOnly timestamp |
tstSigAndRefs | 14 | SigAndRefs timestamp |
tstArchive | 7 | Archive timestamp |