Show / Hide Table of Contents

# Class EmbeddedTimestampVerificationResult

This class represents the result of verifying a secure embedded timestamp digital signature.

##### Inheritance

object
EmbeddedTimestampVerificationResult

##### Implements

IDisposable

##### Inherited Members

object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: pdftron.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class EmbeddedTimestampVerificationResult : IDisposable

### Constructors

#### EmbeddedTimestampVerificationResult(IntPtr)

##### Declaration

    public EmbeddedTimestampVerificationResult(IntPtr impl_ptr)

##### Parameters

Type | Name | Description
--- | --- | ---
IntPtr | impl_ptr |

### Methods

#### Destroy()

##### Declaration

    public void Destroy()

#### Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

##### Declaration

    public void Dispose()

#### Dispose(bool)

##### Declaration

    protected virtual void Dispose(bool disposing)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | disposing |

#### ~EmbeddedTimestampVerificationResult()

##### Declaration

    protected ~EmbeddedTimestampVerificationResult()

#### GetCMSDigestStatus()

Retrieves the result condition associated with the CMS signed digest verification step.

##### Declaration

    public VerificationResult.DigestStatus GetCMSDigestStatus()

##### Returns

Type | Description
--- | ---
VerificationResult.DigestStatus | A DigestStatus-type enumeration value

#### GetCMSDigestStatusAsString()

Retrieves the result condition associated with the CMS signed digest verification step, as a descriptive string.

##### Declaration

    public string GetCMSDigestStatusAsString()

##### Returns

Type | Description
--- | ---
string | a string.

##### Remarks

Output may change in future versions

#### GetCMSSignatureDigestAlgorithm()

Retrieves an enumeration value representing the digest algorithm used to sign the timestamp token.

##### Declaration

    public DigestAlgorithm.Type GetCMSSignatureDigestAlgorithm()

##### Returns

Type | Description
--- | ---
DigestAlgorithm.Type | A DigestAlgorithm enumeration value

#### GetMessageImprintDigestAlgorithm()

Retrieves an enumeration value representing the digest algorithm used inside the message imprint field of the timestamp to digest the main signature value.

##### Declaration

    public DigestAlgorithm.Type GetMessageImprintDigestAlgorithm()

##### Returns

Type | Description
--- | ---
DigestAlgorithm.Type | A DigestAlgorithm enumeration value

#### GetMessageImprintDigestStatus()

Retrieves the result condition associated with the message imprint digest verification step.

##### Declaration

    public VerificationResult.DigestStatus GetMessageImprintDigestStatus()

##### Returns

Type | Description
--- | ---
VerificationResult.DigestStatus | A DigestStatus-type enumeration value

#### GetMessageImprintDigestStatusAsString()

Retrieves the result condition associated with the message imprint digest verification step, as a descriptive string.

##### Declaration

    public string GetMessageImprintDigestStatusAsString()

##### Returns

Type | Description
--- | ---
string | a string.

##### Remarks

Output may change in future versions

#### GetTrustStatus()

Retrieves the result condition associated with the trust verification step.

##### Declaration

    public VerificationResult.TrustStatus GetTrustStatus()

##### Returns

Type | Description
--- | ---
VerificationResult.TrustStatus | A TrustStatus-type enumeration value

#### GetTrustStatusAsString()

Retrieves the result condition associated with the trust verification step, as a descriptive string.

##### Declaration

    public string GetTrustStatusAsString()

##### Returns

Type | Description
--- | ---
string | a string.

##### Remarks

Output may change in future versions

#### GetTrustVerificationResult()

##### Declaration

    public TrustVerificationResult GetTrustVerificationResult()

##### Returns

Type | Description
--- | ---
TrustVerificationResult |

#### GetUnsupportedFeatures()

Retrieves reports about unsupported features encountered during verification of the timestamp. Current possible values: "GeneralizedTime format with length <number greater than 15%gt;", "unsupported digest algorithm"

##### Declaration

    public string[] GetUnsupportedFeatures()

##### Returns

Type | Description
--- | ---
string[] | a container of strings representing unsupported features encountered during verification of the timestamp

##### Remarks

Output may change in future versions.

#### GetVerificationStatus()

Retrieves the main verification status. The main status is determined based on the other statuses.

##### Declaration

    public bool GetVerificationStatus()

##### Returns

Type | Description
--- | ---
bool | A boolean representing whether or not the verification operation was completely successful

#### HasTrustVerificationResult()

Returns whether there is a detailed TrustVerificationResult in this EmbeddedTimestampVerificationResult.

##### Declaration

    public bool HasTrustVerificationResult()

##### Returns

Type | Description
--- | ---
bool | A boolean

### Implements

IDisposable