| Modifier and Type | Method and Description |
|---|---|
static PermissionFlags |
PermissionFlags.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PermissionFlags[] |
PermissionFlags.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.EnumSet<PermissionFlags> |
Document.getPermissionFlags()
Allows to obtain security flags for the document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Document.secure(java.util.EnumSet<PermissionFlags> permissions,
java.lang.String ownerPassword,
java.lang.String userPassword)
Secure the PDF document securely with password(s).
|
void |
Document.secure(java.util.EnumSet<PermissionFlags> permissions,
java.lang.String ownerPassword,
java.lang.String userPassword,
EncryptionType encryptionType)
Secure the PDF document securely with password(s).
|
void |
Document.secure(java.util.EnumSet<PermissionFlags> permissions,
java.lang.String ownerPassword,
java.lang.String userPassword,
EncryptionType encryptionType,
boolean encryptMetadata)
Secure the PDF document securely with password(s).
|