Loaded Source Encryption Inspection
Unlike IsEncrypted and GetLoadedEncryptionInfo, which the engine clears once the object graph is decrypted in memory, the source-encryption getters reflect what the file on disk used, so conformance validators can still police it afterwards
THotPDF members
THotPDF.GetLoadedSourceEncryption(Encrypted, Revision, KeyBits, Method) reports whether the source was encrypted and its revision, key length and method string, with the V=4 crypt-filter chain resolved through the stream filter's /CFM
THotPDF.GetLoadedSourceEncryptionVersion returns the raw /V integer of the source encryption dictionary, for clauses that constrain V itself rather than the cipher, such as PDF/E-1 18.2
THotPDF.GetLoadedSourceEncryptionIndirectPaths lists the paths inside the original /Encrypt dictionary graph, bounded at eight levels, whose values were stored as indirect references
The protected THotPDF.CaptureLoadedSourceEncryption hook records these facts during decryption before the engine clears its live encryption state; applications reach the facts only through the three getters
THotPDF.EnableEncrypt is the write-side counterpart