Class EmbeddedTimestampVerificationResult
This class represents the result of verifying a secure embedded timestamp digital signature.
Implements
Inherited Members
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public sealed class EmbeddedTimestampVerificationResult : IDisposable
Methods
Dispose()
Declaration
public override sealed void Dispose()
Dispose(bool)
Declaration
[HandleProcessCorruptedStateExceptions]
protected void Dispose(bool A_0)
Parameters
Type | Name | Description |
---|---|---|
bool | A_0 |
~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()
Retrieves the detailed result associated with the trust step of the verification operation that returned this EmbeddedTimestampVerificationResult, if such a detailed trust result is available. Must call HasTrustVerificationResult first and check for a true result.
Declaration
public TrustVerificationResult GetTrustVerificationResult()
Returns
Type | Description |
---|---|
TrustVerificationResult | A TrustVerificationResult object |
Remarks
This function will throw if there is no trust result available.
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 |