THotPDF.ValidateLoadedEmbeddedFile Method
function ValidateLoadedEmbeddedFile(const AFileName: AnsiString;
out AInfo: THPDFEmbeddedFileValidationInfo): Boolean;
Streams and validates the named embedded file under DecodeBudgetBytes without storing its payload
The method takes standard /Params /CheckSum and legacy stream-level checksum spellings and decodes escaped MIME PDF Names
The return value is true only when extraction succeeds and every metadata check passes