addLongTermValidation

abstract fun addLongTermValidation(@NonNull signatureFormElement: SignatureFormElement, @NonNull certificates: List<X509Certificate>): Completable

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

signatureFormElement

: The form element that should have long term validation information added to.

certificates

: The certificates to use for adding getting the revocation status for adding long term validation. Can be empty: If this array is empty the certificates used for signing the signatures in the document will be used to get the revocation status.