public enum CertificateEncryptionOption extends Enum<CertificateEncryptionOption>
CertificateEncryptionOptionSpec
object's setOption
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 document's attachments.
|
Modifier and Type | Method and Description |
---|---|
static CertificateEncryptionOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertificateEncryptionOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificateEncryptionOption ALL
public static final CertificateEncryptionOption ALL_EXCEPT_METADATA
public static final CertificateEncryptionOption ATTACHMENTS_ONLY
public static CertificateEncryptionOption[] values()
for (CertificateEncryptionOption c : CertificateEncryptionOption.values()) System.out.println(c);
public static CertificateEncryptionOption 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–2022 Adobe Systems Inc.. All rights reserved.