Decrypt File

Decrypts password-protected PDF files.


⬅️INPUT

Parameter

Type

Required

Description

FilePath

String

✅Yes

Encrypted PDF file path (OverloadGroup: "File Path")

Data

Byte[]

✅Yes

Encrypted PDF (byte array) (OverloadGroup: "Data")

Password

SecureString

✅Yes

Decryption password (Required)

OutputFilePath

String

❌No

Output file path


➡️OUTPUT

Parameter

Type

Description

IsDecryptFileSuccessful

Boolean

Success status

DecryptFileMessage

String

Operation message / error detail

DecryptFileResult

Byte[]

Decrypted PDF (byte array)


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error