THotPDF.AnalyzeLoadedSignatureRevisions Method

Classifies every incremental revision after a selected signature and evaluates the aggregate changes against DocMDP and FieldMDP

Declarations

function AnalyzeLoadedSignatureRevisions(
  SigIndex: Integer;
  Source: TStream;
  out Analysis: THPDFSignatureRevisionAnalysis
): boolean; overload;

function AnalyzeLoadedSignatureRevisions(
  SigIndex: Integer;
  out Analysis: THPDFSignatureRevisionAnalysis
): boolean; overload;

Unit

HPDFDoc

Parameters

NamePurpose
SigIndexZero-based index of the loaded signature field
SourceCaller-owned stream containing the exact bytes of the loaded PDF
AnalysisReceives revision, object, field, permission, compliance, and diagnostic details

Return value

Returns True when the signature byte range and revision chain were analysed, otherwise returns False and reports the reason in Analysis.Issue

Modification levels

THPDFRevisionModificationLevel orders semantic changes from least to most restrictive

ValueMeaning
rmlNoneNo post-signature object changes
rmlLongTermValidationDSS, VRI, certificate, revocation, extension, or document-timestamp maintenance
rmlFormFillAndSignForm values, widget appearances, or signature structures
rmlAnnotationsAnnotation objects or page annotation linkage
rmlOtherUnrecognised, unreadable, freed, or otherwise disallowed objects

Result details

THPDFSignatureRevisionAnalysis contains a THPDFSignatureRevisionChangeArray of THPDFSignatureRevisionChange records

Usage notes

Related APIs