new TrustVerificationResult()
The class TrustVerificationResult.
The detailed result of a trust verification step of a verification
operation performed on a digital signature.
Methods
-
destroy()
-
Destructor
Returns:
- Type
- Promise.<void>
-
getResultString()
-
Retrieves a string representation of the details of the trust verification status.
Returns:
A promise that resolves to a string.- Type
- Promise.<string>
-
getTimeOfTrustVerification()
-
Retrieves the reference-time used for trust verification as an epoch time.
Returns:
A promise that resolves to an integral value representing an epoch time.- Type
- Promise.<number>
-
getTimeOfTrustVerificationEnum()
-
Retrieves the type of reference-time used for trust verification.
Returns:
A promise that resolves to an enumerated value representing the type of reference-time used for trust verification.- Type
- Promise.<number>
Example
Return value enum: <pre> PDFNet.VerificationOptions.TimeMode = { e_signing : 0 e_timestamp : 1 e_current : 2 } </pre>
-
wasSuccessful()
-
Retrieves the trust verification status.
Returns:
A promise that resolves to 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.- Type
- Promise.<boolean>