add Long Term Validation
abstract suspend fun addLongTermValidation(signatureFormElement: SignatureFormElement, certificates: List<@JvmSuppressWildcards X509Certificate>)
This adds long term validation to an existing signature form element that has already been signed or refreshes that information if the signature is already LTV enabled.
com.pspdfkit.signatures.TrustedKeyStore needs to contain the trusted root certificate of the certificates used before this method is called.
Parameters
signature Form Element
The form element that should have long term validation information added to.
certificates
The certificates to use for getting the revocation status for adding long term validation. Can be empty: if this list is empty the certificates used for signing the signatures in the document will be used to get the revocation status.