public class

TrustVerificationResult

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.TrustVerificationResult

Class Overview

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

Summary

Public Constructors
TrustVerificationResult(long impl_ptr)
Public Methods
long __GetHandle()
void destroy()
Frees the native memory of the object.
String getResultString()
Retrieves a string representation of the details of the trust verification status.
long getTimeOfTrustVerification()
Retrieves the reference-time used for trust verification as an epoch time.
VerificationOptions.TimeMode getTimeOfTrustVerificationEnum()
Retrieves the type of reference-time used for trust verification.
boolean wasSuccessful()
Retrieves the trust verification status.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TrustVerificationResult (long impl_ptr)

Public Methods

public long __GetHandle ()

public void destroy ()

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 String getResultString ()

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

Returns
  • A string

public long getTimeOfTrustVerification ()

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

Returns
  • An integral value representing an epoch time

public VerificationOptions.TimeMode getTimeOfTrustVerificationEnum ()

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

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

public boolean wasSuccessful ()

Retrieves the trust verification status.

Returns
  • 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