public enum PasswordEncryptionOption extends Enum<PasswordEncryptionOption>
This enumeration value is used when invoking the
PasswordEncryptionOptionSpec
object's
setEncryptOption()
method.
Enum Constant and Description |
---|
ALL
Encrypts the entire PDF document.
|
ALL_EXCEPT_METADATA
Encrypts the entire PDF document except for the metadata.
|
ATTACHMENTS_ONLY
Encrypts only the attachments.
|
Modifier and Type | Method and Description |
---|---|
static PasswordEncryptionOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordEncryptionOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordEncryptionOption ALL
public static final PasswordEncryptionOption ALL_EXCEPT_METADATA
public static final PasswordEncryptionOption ATTACHMENTS_ONLY
public static PasswordEncryptionOption[] values()
for (PasswordEncryptionOption c : PasswordEncryptionOption.values()) System.out.println(c);
public static PasswordEncryptionOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.