function ValidatePades: TPadesValidationResult;
Parses and inspects all embedded digital signature dictionaries in the PDF document, checking their structure for PAdES baseline compliance
Active to be TrueTPadesValidationResult record detailing the reached PAdES compliance level (B-B, B-T, B-LT, B-LTA) and a set of any detected validation issues
var
Res: TPadesValidationResult;
begin
if not Pdf1.Active then Exit;
Res := Pdf1.ValidatePades;
if Res.IsCompliant then
ShowMessage('PAdES validation passed');
end;