THotPDF.PopulatePAdESLTVEvidence Method

Declaration

function PopulatePAdESLTVEvidence(Transport: THPDFSignatureEvidenceTransport;
  const RetryPolicy: THPDFSignatureEvidenceRetryPolicy): Integer;

Behaviour

Automatic LTV evidence collection and a one-call B-B to B-LT upgrade for freshly signed documents. The method walks every loaded signature, builds its OCSP and CRL evidence requests from the AIA and CRL-distribution endpoints of its certificate set, executes them through the caller-supplied transport, then writes every fetched OCSP response and CRL plus the CMS certificate chain into the document-level DSS. The library never opens sockets

Returns the number of signatures whose evidence landed in the DSS, or -1 when no signature field exists. Errors are per-signature: a failing transport merely skips that signature's material

See also Batch Signature Validation, Modern Signature Providers