mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-12 17:52:13 +02:00
Update AddPasswordRequest.java
This commit is contained in:
parent
7d2e68e1c9
commit
6f5f6a8155
@ -13,20 +13,23 @@ public class AddPasswordRequest extends PDFFile {
|
|||||||
|
|
||||||
@Schema(
|
@Schema(
|
||||||
description =
|
description =
|
||||||
"The owner password to be added to the PDF file (Restricts what can be done with the document once it is opened)",
|
"The owner password to be added to the PDF file (Restricts what can be done"
|
||||||
defaultValue = "")
|
+ " with the document once it is opened)",
|
||||||
|
format = "password")
|
||||||
private String ownerPassword;
|
private String ownerPassword;
|
||||||
|
|
||||||
@Schema(
|
@Schema(
|
||||||
description =
|
description =
|
||||||
"The password to be added to the PDF file (Restricts the opening of the document itself.)",
|
"The password to be added to the PDF file (Restricts the opening of the"
|
||||||
defaultValue = "")
|
+ " document itself.)",
|
||||||
|
format = "password")
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
@Schema(
|
@Schema(
|
||||||
description = "The length of the encryption key",
|
description = "The length of the encryption key",
|
||||||
allowableValues = {"40", "128", "256"},
|
allowableValues = {"40", "128", "256"},
|
||||||
defaultValue = "256")
|
defaultValue = "256",
|
||||||
|
requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private int keyLength = 256;
|
private int keyLength = 256;
|
||||||
|
|
||||||
@Schema(description = "Whether document assembly is prevented", example = "false")
|
@Schema(description = "Whether document assembly is prevented", example = "false")
|
||||||
|
Loading…
Reference in New Issue
Block a user