Sign a document timestamp signature field using a Timestamping Authority (TSA).

 

   

Syntax
 

[C#]
virtual void Timestamp(Oid oid, int reserve)

[Visual Basic]
Overridable Sub Timestamp(oid As Oid, reserve As int)

Throws Exceptions may throw Exception()

 

   

Params
 
Name Description
oid The hash algorithm to use to create the digest of the document data, for example new Oid("SHA256").
reserve The number of bytes to reserve for the returned signed timestamp data. A typical value might be in the region of 5000. If the value is too small an exception will be raised. This value is only relevant if you are using a CustomSigner.

 

   

Notes
 

Sign a document timestamp signature field using a Timestamping Authority (TSA).

The signature must be an unsigned RFC 3161 timestamp signature. If you need to create such a signature you can do so using the XForm.AddDocTimestamp method.

You need to set one of either the TimestampServiceUrl or the CustomSigner properties before calling this function.

If you are using a CustomSigner the delegate method will be passed the raw SHA256 digest of the document contents.

The timestamp signing operation is queued so you will typically want to call Doc.Save or Commit after calling this function.

 

   

Example
 
None.