Show / Hide Table of Contents

Class TrustVerificationResult

The detailed result of a trust verification step of a verification operation performed on a digital signature.

Inheritance
object
TrustVerificationResult
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public sealed class TrustVerificationResult : 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

~TrustVerificationResult()

Declaration
protected ~TrustVerificationResult()

GetCertPath()

Retrieves the certificate path that was used for verification.

Declaration
public X509Certificate[] GetCertPath()
Returns
Type Description
X509Certificate[]

a container of X509Certificate objects

GetEmbeddedTimestampVerificationResult()

Returns the detailed timestamp result inside this TrustVerificationResult. One must call HasEmbeddedTimestampVerificationResult first to check whether the result is available.

Declaration
public EmbeddedTimestampVerificationResult GetEmbeddedTimestampVerificationResult()
Returns
Type Description
EmbeddedTimestampVerificationResult

an EmbeddedTimestampVerificationResult object

GetResultString()

Retrieves a string representation of the details of the trust verification status.

Declaration
public string GetResultString()
Returns
Type Description
string

A string

Remarks

Output may change in future versions.

GetTimeOfTrustVerification()

Retrieves the reference-time used for trust verification as an epoch time.

Declaration
public long GetTimeOfTrustVerification()
Returns
Type Description
long

An integral value representing an epoch time

GetTimeOfTrustVerificationEnum()

Retrieves the type of reference-time used for trust verification.

Declaration
public VerificationOptions.TimeMode GetTimeOfTrustVerificationEnum()
Returns
Type Description
VerificationOptions.TimeMode

An enumerated value representing the type of reference-time used for trust verification

HasEmbeddedTimestampVerificationResult()

Returns whether this TrustVerificationResult has a detailed timestamp result inside.

Declaration
public bool HasEmbeddedTimestampVerificationResult()
Returns
Type Description
bool

a boolean value representing whether this TrustVerificationResult has a detailed timestamp result inside

WasSuccessful()

Retrieves the trust verification status.

Declaration
public bool WasSuccessful()
Returns
Type Description
bool

A boolean representing whether or not the trust verification operation was successful. Whether trust-related warnings are treated as errors or not depend on the VerificationOptions used for the verification operation

Implements

IDisposable
In This Article
Back to top Generated by DocFX