THotPDF.CaptureLoadedRawEncryptionMaterial

Captures the exact raw encryption object and first trailer document identifier from authoritative cross-reference locations

Declaration

function CaptureLoadedRawEncryptionMaterial(Stream: TStream): boolean;

Parameters

Stream is the seekable encrypted PDF source whilst its original byte ranges remain available

Return value

Returns True when the required bounded metadata was captured successfully

Usage notes

Normal loading performs this operation automatically, so it is primarily available for advanced source-lifecycle integration

See also: ClearLoadedRawEncryptionMaterial, RecoverReloadKeysFromStreamRanges