public enum PdfEncryptionAlgorithm extends Enum<PdfEncryptionAlgorithm>
Encryption mode enumeration. Describes algorithm and key length.
| Enum Constant and Description |
|---|
RC4_128
Algorithm, with an RC4 encryption key length of 128 bits and advanced permission set;
|
RC4_40
Algorithm, with an RC4 encryption key length of 40 bits;
|
| Modifier and Type | Method and Description |
|---|---|
static PdfEncryptionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PdfEncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PdfEncryptionAlgorithm RC4_40
Algorithm, with an RC4 encryption key length of 40 bits;
public static final PdfEncryptionAlgorithm RC4_128
Algorithm, with an RC4 encryption key length of 128 bits and advanced permission set;
public static PdfEncryptionAlgorithm[] values()
for (PdfEncryptionAlgorithm c : PdfEncryptionAlgorithm.values()) System.out.println(c);
public static PdfEncryptionAlgorithm 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 © 2025 Aspose. All Rights Reserved.