IsUnencryptedWrapper
Security and encryption
Description
Tests whether the selected PDF contains a valid PDF 2.0 encrypted payload while the outer wrapper remains unencrypted
Syntax
Delphi
Function TPDFlib.IsUnencryptedWrapper: Integer;ActiveX
Function PDFlib::IsUnencryptedWrapper() As LongDLL
int DLIsUnencryptedWrapper(int InstanceID);Return values
| 1 | The catalog, hidden collection, associated file, payload metadata, and embedded stream form a valid wrapper |
|---|---|
| 0 | No valid unencrypted wrapper is selected |
Remarks
Detection verifies that the collection initial document resolves through the embedded-files name tree and that the same file specification is present in the catalog associated-files array
See also
GetEncryptedPayloadSubtype, GetEncryptedPayloadContentToFile