# Decrypt File

Decrypts password-protected PDF files.


---

### :arrow_left:**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 |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsDecryptFileSuccessful` | `Boolean` | Success status |
| `DecryptFileMessage` | `String` | Operation message / error detail |
| `DecryptFileResult` | `Byte[]` | Decrypted PDF (byte array) |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Throw exception on error |