Class TrustVerificationResult
The detailed result of a trust verification step of a verification operation performed on a digital signature.
Inheritance
Implements
Inherited Members
Namespace: pdftron.PDF
Assembly: PDFNetAndroid.dll
Syntax
public class TrustVerificationResult : IDisposable
Constructors
TrustVerificationResult(IntPtr)
Declaration
public TrustVerificationResult(IntPtr impl_ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | impl_ptr |
Methods
Destroy()
Declaration
public void Destroy()
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Finalize()
Declaration
protected void Finalize()
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 |
---|---|
System.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 |
---|---|
System.Int64 | 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 |
---|---|
System.Boolean | 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 |
---|---|
System.Boolean | 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 |