Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.GetInEncryptionInfo
Retrieves encryption settings of the currently active import file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 14.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.GetInEncryptionInfo"; PDF ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. |
Result
Returns JSON or error.
Description
Retrieves encryption settings of the currently active import file.It is not meaningful to call this function on an unencrypted file. Therefore, call GetInIsEncrypted() beforehand to determine whether the file is encrypted.
JSON key | Description |
Filter | Encryption filter |
HaveOpenPassword | If true, an open password was set. |
HaveOwnerPassword | If true, an owner password was set. |
Restrictions | What must be restricted? This is a bit mask and the very same value that DynaPDF.GetInEncryptionFlags returns. |
UnsafeOpenPwd | If true, the file can be easily decrypted by DynaPDF if DynaPDF.SetUseExactPwd is false. |
UnsafeOwnerPwd | If true, the file can be easily decrypted by DynaPDF if DynaPDF.SetUseExactPwd is false. |
See also
Release notes
- Version 14.4
- Added DynaPDF.GetInEncryptionInfo function.
Blog Entries
This function checks for a license.
Created 14th August 2024, last changed 24th September 2024