Click or drag to resize

TimestampingResult Class

A class representing the result of testing a timestamping configuration.
Inheritance Hierarchy
SystemObject
  pdftron.PDFTimestampingResult

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class TimestampingResult : IClosable

The TimestampingResult type exposes the following members.

Methods
  NameDescription
Public methodClose
Public methodDestroy
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetData
If GetStatus gives true, returns the data from the completed timestamping operation, otherwise throws. If this result was returned from TimestampOnNextSave, then this data is the timestamp token. However, if this result was returned from GenerateContentsWithEmbeddedTimestamp, then this data is the main document CMS signature of the DigitalSignatureField but with a newly-added embedded timestamp (unsigned signature-time-stamp attribute as specified in PAdES and PDF 2.0).
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetResponseVerificationResult
If a timestamp response was successfully retrieved from a timestamp authority, returns the result of verifying it. If a timestamp response was not received, throws. One should call HasResponseVerificationResult first to see if a detailed result is available before calling this function.
Public methodGetStatus
Retrieves the overall status of the timestamping configuration testing operation.
Public methodGetString
Retrieves a result message regarding the timestamping configuration testing operation. Note: Output may change in future versions
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasResponseVerificationResult
Returns whether a timestamp response verification result is available. This means that false will be returned when a timestamp response was not received or was empty (e.g.network failures, improper server configuration, bad URL, etc.). This function should be called to check for the availability of a verification result before actually attempting to retrieve one using GetResponseVerificationResult (which throws if a result is not available).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also