| Modifier and Type | Method and Description |
|---|---|
static EncryptionType |
EncryptionType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionType[] |
EncryptionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|