addLtvInformation

public final void addLtvInformation(Document document, String outputPath)

Adds long-term validation material — certificates and revocation information — for all signed signatures of a document, upgrading it toward PAdES B-LT. Requires network access to reach OCSP responders and CRL distribution points.

Parameters

document

The signed document to add validation material to.

outputPath

The path where the updated PDF will be saved.


public final void addLtvInformation(Document document, FileOutputStream output)

Adds long-term validation material for all signed signatures, writing the result to a stream. Requires network access to reach OCSP responders and CRL distribution points.

Parameters

document

The signed document to add validation material to.

output

The output stream where the updated PDF will be written.