Skip to content

PDFTimeStampEventData

Namespace: O2S.Components.PDF4NET.DigitalSignatures

Defines the arguments for SignatureTimestampNeeded delegate.

public class PDFTimeStampEventData

Inheritance ObjectPDFTimeStampEventData

Properties

HashedMessage

Gets the hashed message.

public Byte[] HashedMessage { get; }

Property Value

Byte[]
The hashed message to be used in the construction of the MessageImprint object.

Remarks

This hashed message is the hash value of the signature. The same hash algorithm used for computing the signature is also used here.


TimeStampRequest

Gets the time stamp request.

public Byte[] TimeStampRequest { get; }

Property Value

Byte[]
The complete DER encoded TimpeStampRequest object (as defined in RFC 3161).


TimeStampResponse

Gets or sets the time stamp response.

public Byte[] TimeStampResponse { get; set; }

Property Value

Byte[]
The complete DER encoded TimpeStampResponse object (as defined in RFC 3161).

Remarks

The library will check the status value in the TimeStampReponse and if it is zero, it will embed the TimeStampToken in the signature.
If the status is not zero or this property is null, the signature will be created without timestamp information.
This property is ignored when PDFTimeStampEventData.TimeStampToken property is set.


TimeStampToken

Gets or sets the time stamp token.

public Byte[] TimeStampToken { get; set; }

Property Value

Byte[]
The DER encoded timpe stamp token.

Remarks

If this property is set, the time stamp token will be embedded in the signature as it is. When this property is set, the PDFTimeStampEventData.TimeStampResponse property is ignored.